Click to See Complete Forum and Search --> : ModRewrite Rulte problem


atortega
04-28-2006, 05:16 AM
Sorry, if this is not the correct place to post.

How can I write a ReWriteRule to my .htaccess file that will redirect all access to index.php except for the access of callcounter2.php.

Hope somebody can help.

Thanks.

atortega

Scleppel
04-28-2006, 05:51 AM
Try this:
RewriteEngine On

RewriteRule !^(index|callcounter2)\.php$ /index.php [QSA,L]