Something rewrites rules for php when Apache mod_rewrite module is disabled

Reeperync

New Member
I run the following url:\[code\]http://localsite/index.php/foo/bar\[/code\]index.php is executed and outputs variable:\[code\]$_SERVER[SCRIPT_FILENAME] = E:/path/to/file/index.php\[/code\]mod_rewrite in Apache is disabled.Who rewrites the rule?
Or what happens?How index.php is found? Why apache decided to run it?My configuration:Windows Vista, Apache Apache/2.2.14 (Win32) PHP/5.3.1 (with php module).(Indeed the problem is the rule is actually rewritten before mod_rewrite - this is when mod_rewrite is enabled. This causes that \[code\]RewriteCond %{REQUEST_FILENAME} !-f\[/code\] is always false, because \[code\]/foo/bar\[/code\] is trimmed before \[code\]RewriteCond\[/code\]).
 
Back
Top