Problem z .htacces
Wyniki 1 do 4 z 4

Temat: Problem z .htacces

  1. #1
    Przeglądacz
    Dołączył
    04-01-2010
    Wpisy
    39
    Punkty
    10

    Domyślny Problem z .htacces

    Witam, mam zainstalowana joomlę
    Version 1.5.3

    do tego k2 2.3

    Włączylem przyjazne url i po zmianie z htaccess.html na .htaccess dostaje błąd:
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster@portal.traderzy.pl and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
    moj htacces wyglada tak:
    ##
    # @version $Id: htaccess.txt 9975 2008-01-30 17:02:11Z ircmaxell $
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##


    ################################################## ###
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: 'Options +FollowSymLinks' may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url's. If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    ################################################## ###

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    #
    # mod_rewrite in use

    RewriteEngine On


    # Uncomment following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root)

    # RewriteBase /


    ########## Begin - Joomla! core SEF Section
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/index.php
    RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
    RewriteRule (.*) index.php
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    #
    ########## End - Joomla! core SEF Section


    ########## Begin - Rewrite rules to block out some common exploits
    ## If you experience problems on your site block out the operations listed below
    ## This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    # Block out any script trying to set a mosConfig value through the URL
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    # Block out any script that includes a ********** tag in URL
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Send all blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ index.php [F,L]
    #
    ########## End - Rewrite rules to block out some common exploits
    Proszę o pomoc, jak zrobić bu url były przyjazne?

  2. Pani Reklamowa
    Pani Reklamowa jest aktywna
    Avatar Panny Google

    Dołączył
    19-08-2010
    Skąd
    Internet
    Postów
    milion
    Pochwał
    setki
  3. #2
    Senior PeFik awatar
    Dołączył
    18-02-2007
    Skąd
    Miasto Stu Mostów
    Wpisy
    5 465
    Punkty
    241

    Domyślny

    zapytać admina serwera, dlaczego nie wolno ci mieć plikow .htaccess

    p.s.
    Aktualizacja CMS wskazana, min. to 1.5.22
    Współautor bloga o systemie Joomla! -> blog.elimu.pl < oraz kilku książek i artykułów o tym CMS.

  4. #3
    Wiarus mjmartino awatar
    Dołączył
    03-12-2007
    Skąd
    Będzin /k Katowic
    Wpisy
    2 751
    Punkty
    212

    Domyślny

    sprawdź czy gdzieś wyżej w katalogu nie masz już innego htaccessa .. dwa # RewriteBase / sprawdź
    i rada Pefika jak najbardziej
    ================================
    Administracja Joomla, Nowości, Artykuły Pomocne Administratorom, Usługi
    >>> https://joomlaguru.pl <<<
    Szkoła Joomla Guru (Kursy Online)
    >>> https://szkola.joomlaguru.pl <<<
    ================================

  5. #4
    Przeglądacz
    Dołączył
    29-06-2006
    Wpisy
    94
    Punkty
    11

    Domyślny

    K2 też należałoby uaktualnić do 2.4.1

Podobne tematy

  1. .htacces i przekierowanie 301
    przez iearts_C na forum Wydajność, optymalizacja
    Odpowiedzi: 13
    Ostatni post/autor: 20-09-2011, 22:57
  2. Problem w konfiguracji .htacces
    przez joomler1986 na forum Administracja - ogólne
    Odpowiedzi: 0
    Ostatni post/autor: 18-09-2009, 14:00
  3. Dwa pliki htacces?
    przez mariusx na forum Różne
    Odpowiedzi: 2
    Ostatni post/autor: 02-06-2008, 15:27
  4. dwa pliki .htacces
    przez gregorys na forum Administracja Joomla!
    Odpowiedzi: 3
    Ostatni post/autor: 15-01-2008, 10:16
  5. Problem z instalacją - .htacces
    przez kgajewsk na forum Instalacje (Joomla!, składników)
    Odpowiedzi: 0
    Ostatni post/autor: 13-03-2007, 09:57

Reguły pisania

  • Nie możesz zakładać nowych tematów
  • Nie możesz dodawać wypowiedzi
  • Nie możesz dodawać załączników
  • Nie możesz poprawiać swoich postów
  •