If I understand correctly, I need to put something in httpd.config to enable mod_rewrite. If this is true, what do I need to put in httpd.conf or apache.conf? Please be OS specific.
If I understand correctly, I need to put something in httpd.config to enable mod_rewrite.
Share
Nope,
mod_rewriteis an Apache module and has nothing to do with PHP.To activate the module, the following line in
httpd.confneeds to be active:to see whether it is already active, try putting a
.htaccessfile into a web directory containing the lineif this works without throwing a 500 internal server error, and the
.htaccessfile gets parsed, URL rewriting works.