Turning On mod rewrite on Windows Server
By default at windows servers which are running Apache as web server the mode rewrite module is off. This is required for user friendly or pretty urls.
To enable mod rewrite you need access to the httpd.conf which you can find in your apache installation.
Search for “mod_rewrite”. You will see the following line
“#LoadModule rewrite_module modules/mod_rewrite.so”,
the “#” is used for comments in apache httpd.conf file. Remove the “#” and restart you apache server. Now check your functionality for mod rewrite and aha! it is working fine.

