httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg" <>
Subject [users@httpd] Virtual Host Error
Date Thu, 22 Jan 2004 02:30:54 GMT
I've read many threads and a few Apache web pages on setting up Virtual
Hosts. I'm guessing something just isn't playing right.

Here's the error I saw in the error_log after restarting Apache:

[warn] NameVirtualHost *:80 has no VirtualHosts

Someone said that if we use *:80, to have our own server/domain listed
first so I did that.  Here's what I have in the Vhosts.conf:

################# Named VirtualHosts
NameVirtualHost *:80
<VirtualHost *:80>
TransferLog /etc/httpd/logs/transfer_log
#ServerPath /domain
DocumentRoot /var/www/html

# NameVirtualHost
        ErrorLog /var/www/html/domains/1171/error_log
        TransferLog /var/www/html/domains/1171/transfer_log
#ServerPath /domain
        DocumentRoot /var/www/html/domains/1171/PN726/html
        Options ExecCgi FollowSymlinks

What is it that I'm not following?  It's a registered domain name with a
static IP assigned to me along with 4 others.  I just now did the DNS
update so it's populating, but I'm getting an error (above) and it's
telling me I don't have any virtual hosts defined.

Thanks for the 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