QUOTE (freelife @ Apr 24 2012, 06:17 PM)

Im handling a website, where we use rewrite but seem to have some problems here on NS. I read post about this issue, but it seems like it works better on ie !
In firefox I get 200 OK -> The server encountered an internal error or
misconfiguration and was unable to complete your request.
I have RewriteBase /
and essentially how this website uses the rewrite is like this:
#Rewites PHP file to PHP directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*)\.php$ PHP/$1\.php [L]
#All other files
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*)$ PHP/transform.php?page=$1 [L]
The problem occurs when loading the ADMIN/index.php
header ('Location: ADMIN/');
ie it loads, however in firefox it will halt, but not allways!
I guess it could be a time out ?
RewriteRuiles do not use regular expressions and do not need special characters like the period escaped (i.e. you would use "$1.php" not "$1\.php"). You only need that in RewriteCond.
The target for the RewriteRule should always start with "http://" or "/" (i.e. "RewriteRule (.*)$ /PHP/transform.php?page=$1 [L]")