Pages

Sunday, July 8, 2012

Check the status of ur local .htaccess and mod_rewrite

Check if mod_rewrite is enabled and your htaccess file is overriding

1) create a page phpinfo.php in your root call the phpinfo() function in the same

2) Now request this page from ur browser and look for a section called Loaded Modules.If it shows mod_rewrite....bingo its enabled from server

3) Next backup ur .htaccess default file and create a new one in that write

DirectoryIndex phpinfo.php

Now request ur website root from browser if you see phpinfo.php being called ur .htaccess is working in other words #allow override is enabled at httpconfig.

No comments:

Post a Comment