Apache Mod Rewrite

From assela Pathirana
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Mod_rewrite, the Apache web server's URL rewriting utility, allows the translation of client requests based on a number of rules. For example:

RewriteRule   ^oldstuff\.html$  newstuff.html

will translate a request named oldstuff.html to newstuff.html before it is requested from the server.

Following are a set of useful resources for using mod_rewrite