httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mandrich" <>
Subject [users@httpd] Virtual Hosting Woes.......
Date Fri, 19 Sep 2003 15:47:55 GMT
Hi All,

I'm having some difficulty getting my virtual hosting to work. Apache starts
fine and shows no errors. All domains have entries on my local name server
that point to the one IP for the machine. Any of the domains I've created
route to the box, but I only get the default directory and not the assigned
directory regardless of which site I request. Nothing shows up in the logs
specified under the virtual hosting directive, and the http access log just
shows a regular served request for the domain I requested. I've done my best
to read through the apache online docs, but it rally seems pretty straight
forward. I must be overlooking something really simple. Any thoughts or
suggestions? Are there directives that I should comment out form the 'main'
server section? Below is my Virtual hosting section:


# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#<VirtualHost *:80>
#    ServerAdmin
#    DocumentRoot /www/docs/
#    ServerName
#    ErrorLog logs/
#    CustomLog logs/ common

DocumentRoot /var/local/www/data/Dom1
ErrorLog /var/log/Dom1-error_log
CustomLog /var/log/Dom1-access_log common

DocumentRoot /var/local/www/data/Dom2
ErrorLog /var/log/Dom2-error_log
CustomLog /var/log/Dom2-access_log common

Thank you in advance for any help!


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message