2203
12.02.2008, 16:58
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^test.(htm|html)/?$ /info.php
</IfModule>
набираю www.site.com/test.html редиректит на /info.php
$_SERVER['REQUEST_URI'] == "/info.php" почему?
мне надо
$_SERVER['REQUEST_URI'] == "/test.html".
RewriteEngine On
RewriteBase /
RewriteRule ^test.(htm|html)/?$ /info.php
</IfModule>
набираю www.site.com/test.html редиректит на /info.php
$_SERVER['REQUEST_URI'] == "/info.php" почему?
мне надо
$_SERVER['REQUEST_URI'] == "/test.html".