setup mod_rewrite

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 “

Share it with your friends, thanks !
Share on FacebookTweet about this on TwitterShare on Google+Share on TumblrBuffer this pagePin on PinterestEmail this to someone

You may also like...