divissimo
07.09.07, 16:16
hi i've got following code
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /testTypo/
RewriteCond %{REQUEST_URI} !index\.php$ [NC]
#RewriteCond %{REQUEST_URI} !$ [NC]
RewriteCond %{QUERY_STRING} !.+$ [NC]
RewriteRule ^(.*)$ index.php?id=29&sA=detail&pool=$1 [R]
</IfModule>
this works fine, there's only one problem. if the REQUEST_URI is empty the rewrite SHOULDN'T be executed. i've been trying to do that with the 2. condition.
can someone help?
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /testTypo/
RewriteCond %{REQUEST_URI} !index\.php$ [NC]
#RewriteCond %{REQUEST_URI} !$ [NC]
RewriteCond %{QUERY_STRING} !.+$ [NC]
RewriteRule ^(.*)$ index.php?id=29&sA=detail&pool=$1 [R]
</IfModule>
this works fine, there's only one problem. if the REQUEST_URI is empty the rewrite SHOULDN'T be executed. i've been trying to do that with the 2. condition.
can someone help?