httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: VirtualHosting
Date Thu, 01 Aug 2002 14:18:45 GMT
I apologize, I had restarted the server and received no error message,
but the service did not restart.  I have restarted the server and now
both domains return 

Index of /

. Parent Directory.

I have chmod 777'd the site.* directory and I still can't see anything -
In fact it is still looking to my /var/www/htdocs folder!!

Why isn't it pointing to the folders I specified?

Thank you!!

-----Original Message-----
From: James Herschel [] On Behalf Of
Sent: Thursday, August 01, 2002 9:58 AM
Subject: VirtualHosting

Hello, I've been working with the O'Reilly Using Apache manual to host
two websites using one invocation of httpd with <VirtualHost>.

User www
Group www


DocumentRoot /home/ftp/www/site.trebas/htdocs
ErrorLog /var/www/site.trebas/logs/error_log
TransferLog /var/www/site.trebas/logs/access_log

DocumentRoot /home/ftp/www/site.bozack/htdocs
ErrorLog /home/ftp/www/site.bozack/logs/error_log
TransferLog /home/ftp/www/site.bozack/logs/access_log

Both domains return the first site.  I expected that Apache would
examine the headers of the http request and return the requested site
based on the name.  Do I have to set up multiple local IPs on my machine
and put each separate IP in each VirtualHost block? Can anyone tell me
what I am doing wrong?

Thanks a lot!!

James Herschel
JSquared Network Solutions

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message