Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 18 Pomógł: 0 Dołączył: 10.10.2009 Ostrzeżenie: (10%)
|
w folderze ht mam plik .htaccess a w nim:
RewriteEngine On RewriteRule ^ht/(.*)/(.*)/(.*)/ index.php?var1=$1&var2=$2&var3=$3 oraz index php a w nim: <?php $var1=$_GET['var1']; $var2=$_GET['var2']; $var3=$_GET['var3']; echo $var1.' '.$var2.' '.$var3.' '; ?> do przegladarki wpisuję: http://localhost/ht/jeden/dwa/trzy/ i dostaję: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@localhost 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. mimo tego, że WampServer mam cały czas uruchomiony co robię źle ? |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zablokowani Postów: 5 Pomógł: 0 Dołączył: 8.09.2010 Ostrzeżenie: (0%)
|
gdzie można sprawdzic to: AllowOverride ?
|
|
|
|
damyrade1990 [PHP] Problem z mod rewrite 8.09.2010, 16:42:37
sido Skrypt wydaje się, że jest ok. Powinien działać.
S... 8.09.2010, 17:18:09
sido najpierw się zdecyduj w którym temacie piszesz/pis... 8.09.2010, 21:11:35 ![]() ![]() |
|
Aktualny czas: 27.12.2025 - 06:59 |