My requirement is given the name of the incoming domain, rewrite the URL to serve a page from a subdirectory. The other condition is I have lots of these so I need to use rewrite map to separate them.
What is the format of the map file and what are the lines in the .htaccess file I need to write to get the map file and how to redirect each entry to an appropriate subdirectory. Thanks.
andreasfriedrich
6:55 pm on Sep 12, 2002 (gmt 0)
You can find the answers in the mod_rewrite documentation [httpd.apache.org] and the URL Rewriting Guide [httpd.apache.org]. If you have problems after having read those post the code you have so far and everybody will gladly help you.