enable mod_rewrite in Apache 1.3+WinXP

mod_rewrite provides an effective way to make short/friendly URLs and it also makes your site more attractive for search engine crawlers.

You can enable mod_rewrite for Apache 1.3 with the below steps easily.

First step
Remove '#' in front of
LoadModule rewrite_module modules/mod_rewrite.so
Make sure 'mod_rewrite.so' is available under 'apache installation directory/modules'.

Second step
Remove '#' in front of
AddModule mod_rewrite.c

Third step
Set AllowOverride to any of these
AllowOverride FileInfo Options
or
AllowOverride All

Rember, you will find 2 instances of AllowOverride. One like
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

and the 2nd one similar to

<Directory "C:/Program Files/Apache Group/Apache/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Change the value in the 2nd instance.
Don't forget to restart Apache for these changes to take affect.

A cool mod_rewrite cheat sheet.

del.icio.us:enable mod_rewrite in Apache 1.3+WinXP digg:enable mod_rewrite in Apache 1.3+WinXP spurl:enable mod_rewrite in Apache 1.3+WinXP newsvine:enable mod_rewrite in Apache 1.3+WinXP blinklist:enable mod_rewrite in Apache 1.3+WinXP furl:enable mod_rewrite in Apache 1.3+WinXP reddit:enable mod_rewrite in Apache 1.3+WinXP blogmarks:enable mod_rewrite in Apache 1.3+WinXP Y!:enable mod_rewrite in Apache 1.3+WinXP

Related Posts

Leave a Comment