![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 55 Pomógł: 2 Dołączył: 8.10.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam, jeżeli mój plik .htaccess wygląda tak:
Kod RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?site=$1 [L] lub tak: Kod RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*),(.*)$ /index.php?site=$1&id=$2 [L] To wszystko jest ok, ale jeżeli zrobię: Kod RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*),(.*)$ /index.php?site=$1&id=$2 [L] RewriteRule ^(.*)$ /index.php?site=$1 [L] dostaję Kod Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@friko.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. Czyli popularną przy htaccess 500-kę. Nie wiem czy to ma jakieś znaczenie ale jest to darmowy serwer na friko.pl Jak zawsze za wszelką pomoc będę dozgonnie wdzięczny :-] Z góry dzięki :-) PS. Jak źle nazwałem ten temat to przepraszam ale w tym temacie jestem taak ciemny że ... |
|
|
![]()
Post
#2
|
|
Grupa: Moderatorzy Postów: 15 467 Pomógł: 1451 Dołączył: 25.04.2005 Skąd: Szczebrzeszyn/Rzeszów ![]() |
Cytat Czyli popularną przy htaccess 500-kę. Nie wiem czy to ma jakieś znaczenie ale jest to darmowy serwer na friko.pl Darmowe serwery często mają pouwalaną obsługę pewnych "oczywistości". Ale ok, każdy ten etap dorastania przechodzi (w którym stwierdzasz, że darmówka, to zł... zuo, Sodoma i Gomora, etc). Proponuję najpierw sprawdzić to wszystko na localhoście, potem można pomodzić. i:
jak już. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 18:57 |