Page 1 of 1

How to enable mod_rewrite without using httpd.conf file

Posted: Thu Jun 18, 2009 9:21 am
by sunil_23413
I am working in a php project. I enabled mod_rewrite nodule from the httpd.conf file. I go to apache -> conf-> httpd.conf and uncommented the #LoadModule rewrite_module modules/mod_rewrite.so this and mod_rewrite module was enabled successfully. I checked it using phpinfo function.

Now I uploaded the same project to live server .but I don’t have permissions to enter in conf folder. So cannot edit httpd.conf file to enable mod_rewrite module. How can I enable mod_rewrite module using php.ini or htaccess file or using some php coding?

Re: How to enable mod_rewrite without using httpd.conf file

Posted: Thu Jun 18, 2009 9:24 am
by jayshields
You can't.