httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harrell, Roger" <rjhar...@bechtel.com>
Subject RE: [users@httpd] domain on ip
Date Mon, 03 Mar 2003 18:29:46 GMT
Absolutely doable. Here's an example
http://www.praiseuniverse.com
http://www.audiblefaith.com/praiseuniverse

Of course because of the way PraiseUniverse.com is constructed some of the
links may not work if accessed under AudibleFaith.com

The way this is done is that the DocumentRoot in httpd.conf is a directory
that is a sub-directory of the AudibleFaith.com DocumentRoot. To have it
work with the dot, I just imagine you include a dot in the directory name. 



-----Original Message-----
From: Payal Rathod [mailto:rpayal@softhome.net]
Sent: Monday, March 03, 2003 10:27 AM
To: Apache List
Subject: [users@httpd] domain on ip


> I think all you want is an Alias.  You just want these requests
> 
>     http://1.2.3.4/example
>     http://1.2.3.4/~example
>     http://1.2.3.4/example.net
> 
> to all resolve to:
> 
>     http://1.2.3.4/index.html
> 
> correct?

Not exactly. I will explain more plainly.
Assume, I have virtual domains,
example.net, example.com, somemore.org, others.edu etc.
on a ip 1.2.3.4, ok?

They can all access their sites as,
www.example.net, ...., www.others.edu, ok?

Now webmaster of somemore.org comes and says in addition to accessing his
site like www.somemore.org he also wants to access it with,
http://1.2.3.4/somemore.org

How do I do that? Is it possible? Also, I have to keep it flexible in case
if
webmaster of example.com also gives similar request for using,
http://1.2.3.4/example.com 

Can you please tell me what to do in such case?

Thanks a lot and bye.
With warm regards,
-Payal

-- 
"Visit GNU/Linux Success Stories"
www.geocities.com/rpayal99
Guest-Book Section Updated.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message