homepage Welcome to WebmasterWorld Guest from 54.197.110.151
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
how to use rewrite_map
scorpion

10+ Year Member



 
Msg#: 26 posted 6:40 pm on Sep 12, 2002 (gmt 0)

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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 26 posted 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved