Home > Internet, Linux, Web Development, windows > Enable Mod rewrite in apache

Enable Mod rewrite in apache

For Debian use

sudo a2enmod rewrite

For Windows

  1. Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)
  2. Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so
  3. Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.

restart your apache service and you are cool to go

  • Digg
  • del.icio.us
  • Reddit
  • Facebook
  • LinkedIn
  • Twitter
  1. No comments yet.
  1. No trackbacks yet.