httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Carleton" <>
Subject [users@httpd] setting up virtual hosting
Date Wed, 21 Feb 2007 02:44:36 GMT
I am pulling my hair out trying to get the virtual hosting working on
my internal web server.  I need to get a test site online and I would
like to have it setup as a name based virtual host.  I am running
Apache v2.2.3 with default layout of SUSE, which consists of the main
conf file including a bunch of other files.

The virtual host is working just fine, it is the default that isn't
work!  I have added ServerName which was not there originially to


And then I have this for the virtual host:

<VirtualHost _default_:80>

    DocumentRoot    "/http/www/"

    ErrorLog /var/log/apache2/
    CustomLog /var/log/apache2/ combined

    <Directory "/http/www/">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all


I do *NOT* have a NameVirtualHost directive.

I do have this setup, where the default is *NOT* working either:

<VirtualHost *:443>
    DocumentRoot "/srv/www/htdocs"




What am I missing?


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