httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@dsndata.com>
Subject Re: Virtual Host
Date Fri, 21 Apr 1995 15:32:40 GMT

> >I have two servers running sharing the same document tree.
> >www1.org has a Document Root that can see the entire tree.
> >www2.org is a Virtual host that has a Document Root of /www2docs/
> 
> Err, why??

Because www1.org has been serving the entire tree for some time
now.  There are many registered links to that servername.


> >Within file1.html I have some absolute paths to other documents.
> >The sticky point began when trying to do image maps and accessing
> >/cgi-bin etc.
> >
> ><A HREF="http:/www2docs/morefiles/morefile1.html> morefile</A>
> 
> I don't quite understand; your URL does not make sense. Why not
> http://www1.org/ww2docs/morefiles/morefile1.html ?

What you propose can be done with DNS. The real advantage of the
VirtualHost feature is that http://www2.org/ serves www2docs/index.html


> >http://www1.org/www2docs/file1.html
> >
> >http://www2.org/file1.html
> >
> >How can I serve this document tree from both servers?
> 
> You probably can't, and shouldn't try. 

Why?



Mime
View raw message