![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 788 Pomógł: 1 Dołączył: 17.09.2004 Ostrzeżenie: (10%) ![]() ![]() |
Witam,
mam następujący plik .htaccess: RewriteEngine On RewriteRule ^index/([^-]+)/([^-]+)/([^-]+).html$ index.php?peta=$1&lista=$2 [L] RewriteRule ^index2/([^-]+)/([^-]+)/([^-]+).html$ index.php?peta=$1&lista=$2 [L] Nie wiem czemu, ale serwer ciągle mi zwraca 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@bla.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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Wiecie może co robię źle?? Z góry dzięki za pomoc, pozdrawiam Northwest |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 75 Pomógł: 8 Dołączył: 9.08.2008 Ostrzeżenie: (0%) ![]() ![]() |
A dlaczego dwa razy napisałeś to samo?
RewriteRule ^index/([^-]+)/([^-]+)/([^-]+).html$ index.php?peta=$1&lista=$2 [L] po co to podkreślone? Przecież podajesz tylko dwie zmienne w adresie prawdziwym a tam wpisałeś że ma zastępować trzy. Nie znam się za dobrze ale raczej o to chodzi. Pozdrawiam Pitter Ten post edytował Pitter 9.08.2008, 21:39:54 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 9.10.2025 - 23:41 |