Re: stupid web tricks - virtual hosts

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Brown
Date:  
To: plug-discuss
Subject: Re: stupid web tricks - virtual hosts
Craig White wrote:

> On Thu, 2004-02-26 at 23:03, Kevin Brown wrote:
>
>>Craig White wrote:
>>
>>
>>>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?
>>
>>with or without the trailing / ? I've had issues with apache and not always
>>liking directory names without adding the trailing / based on the config.
>
> ----
> No - good suggestion but that wasn't it.
>
> It caused me to check things though - turned out that the firewall that
> does the nat - sent it to the ip address of host1 instead of the ip
> address of host2 - I'm dumb. Fixed now - thanks


glad to know that at least some of my knowledge is going to use, heheh :)

oh well, back to the job search.

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