I was doing some more serious testing on the Virtual Host features
last night. I have a question that may be more of an HTML education
issue.
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/
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>
http://www1.org/www2docs/file1.html
http://www2.org/file1.html
How can I serve this document tree from both servers?
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?
last night. I have a question that may be more of an HTML education
issue.
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/
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>
http://www1.org/www2docs/file1.html
http://www2.org/file1.html
How can I serve this document tree from both servers?
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?