Getting Started with URL Rewriting with Apache
May 30, 2009, 22:01 (0 Talkback[s])
(Other stories by Sukrit Dhandhania)
No-Size-Fits-All! An Application-Down Approach for Your Cloud Transformation REGISTER >
"There are four parts to the rule configuration. You first
invoke RewriteRule, which is the static syntax to create a rule.
Then you enter the source URL, which is the address that will be
typed by the user in her web browser. After this comes destination
URL, which is the page the web server will actually activate. Last
is the optional flags section, which is where you can define the
nature of the URL forwarding. With this relatively simple
combination of entries, you can weave some wonderful magic with
"Let's begin by setting up a simple page forwarding. This is for
a scenario where you have moved a webpage to a new location. Create
a file home.html and enter the following line into it."