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

Apache Web Server Forum

Apache rewrite rule for virtual domains
How to use rewrite to creat virual domains

10+ Year Member

Msg#: 443 posted 5:45 am on Jan 28, 2002 (gmt 0)

Is there an apache rewrite rule so that I can setup one IP based site and then have different domains goto a subdirectory?

For example:

I have www.joe.com points to:


I want wwww.frank.com to goto:


but of course I don't want it limited to just frank.com.
I cannot make a <virtual for each domain. I am using a product from ensim called webpliance so the only way I can do it is with an apache rewrite rule and to be honest I cannot make heads or tails of the syntax. It seems just as bad as sendmail syntax!

So, does anyone know how to do this or does anyone know of a site that can explain to me exactly what is going on with apache rewrite?

Thanks in advance,




WebmasterWorld Senior Member 10+ Year Member

Msg#: 443 posted 5:42 pm on Jan 30, 2002 (gmt 0)

If nobody jumps in with a solution and you're forced to do it yourself, this search [google.com] produced several tutorials that look pretty promising.

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