Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z mod rewrite
cracksik
post
Post #1





Grupa: Zablokowani
Postów: 5
Pomógł: 0
Dołączył: 8.09.2010

Ostrzeżenie: (0%)
-----


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 ?
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 23:30