Recently need to setup mod_rewrite for my server, because of my sys admin are bz (going back to aus) and wish to learn more about the server, i been research how to set the mod_rewrite properly, just to remind my server is a debian server, so if there is any different pls do some research on your own linux distribution site.
first load the mod_rewrite module
copy the rewrite.load from /etc/apache2/mods-available to /etc/apache2/mods-enabled
after that there are some setting for virtual host, add the FileInfo into AllowOverride directive
restart the apache after all the change
if the mod_rewrite still not working, you can change to “AllowOverride All “