How to enable mod_rewrite in php.ini on shared hosting

vinoth picture vinoth · Sep 9, 2011 · Viewed 14.5k times · Source

I recently hosted my website in shared hosting the sites mod_rewrite is not working. I there anything I have to add in php.ini file to enable the mod_rewrite option in php.ini file.

Answer

Digital Human picture Digital Human · Sep 9, 2011

You can in your

<VirtualHost *:80> RewriteEngine On</VirtualHost>

in your httpd.conf