sunil_23413 Posted June 18, 2009 Share Posted June 18, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/162764-how-to-enable-mod_rewrite-without-using-httpdconf-file/ Share on other sites More sharing options...
wildteen88 Posted June 18, 2009 Share Posted June 18, 2009 If you dont have access to the httpd.conf you wont be able to enable mod_rewrite. The only way is to ask your host to enable mod_rewrite Quote Link to comment https://forums.phpfreaks.com/topic/162764-how-to-enable-mod_rewrite-without-using-httpdconf-file/#findComment-859021 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.