httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@ast.cam.ac.uk (David Robinson)
Subject Re: Virtual Host
Date Fri, 21 Apr 1995 16:12:00 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??

>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 ?

>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. 

>It almost seems that we need to have seperate ScriptAlias
>entries for the VirtualHost. Perhaps Alias entries that 
>apply only to the VirtualHost? ie 'Alias /www2docs/ /'.
>Actually the server should probably automatically ignore
>anything in a string that matches the DocumentRoot string
>for the VirtualHost?

You can easily do this by having separate httpd's with separate
config files.

 David.

Mime
View raw message