View Full Version : Is mod_rewrite enabled???

04-22-2012, 02:15 PM
When i check the environment with phpinfo() the HTTP_MOD_REWRITE shows as ON... doesn't this mean that apache mod_rewrite is enabled??? ... but i haven't been able to rewrite the url with htaccess... can somebody please help ....

04-22-2012, 07:18 PM
Where has the environment variable HTTP_MOD_REWRITE been declared?
If its between an <IfModule mod_rewrite.c> check, then that's fine assuming that mod rewrite has been used at this point.
As for telling if its actually be rewritten, you may be able to check the existence of the $_SERVER['REDIRECT_URL'].