stupid web tricks - virtual hosts

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: stupid web tricks - virtual hosts
Have a web server - with ip based virtual hosts.

<VirtualHost 111.111.111.111:80>
DocumentRoot /var/www/html/host1
more junk...
</VirtualHost>

<VirtualHost 222.222.222.222:80>
DocumentRoot /var/www/html/host2
more junk...
</VirtualHost>

OK - life is good - they both work

Each has a directory inside of the DocumentRoot called 'files'

When I put a file in /var/www/html/host2/files/ it actually looks for
the file in /var/www/html/host1/files and of course returns a file does
not exist error in the log file for host1

How do I get apache (httpd-2.0.46-26.ent) to allow me to use
subdirectories inside of the DocumentRoot folders?

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss