Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

how to use rewrite_map

6:40 pm on Sep 12, 2002 (gmt 0)

10+ Year Member

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.

6:55 pm on Sep 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

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.

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month