httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Measday" <>
Subject [users@httpd] Virual hosts not working
Date Thu, 20 Oct 2005 01:03:13 GMT
Under Fedora Core 4 and Apache 2.0, I have the following in

Listen *:80


NameVirtualHost *:80

# Where do we put the lock and pif files?
LockFile "/var/lock/httpd.lock"
CoreDumpDirectory "/etc/httpd"

# Defaults for virtual hosts

# Logs

# Virtual hosts

# Virtual host Default Virtual Host
<VirtualHost *>

 	ServerSignature email

	DirectoryIndex  index.php index.html index.htm index.shtml

 	LogLevel  warn
 	HostNameLookups off


# Virtual host

<VirtualHost *:80>

 	DocumentRoot /www/html/e-h

 	ServerAdmin webmaster

	DirectoryIndex index.html index.htm index.shtml



web docs are stored in /var/www/html for non-virual host (I tried
DocumentRoot /var/www/html as well but this didn't work either)

Instead of seing the tesp page I have stored in /var/www/html/e-h/index.htm,
I still see the main web pages from /var/www/html (ie the non-virtual host

My conf file seems to be in line with the example doc.s so I assume I'm
doing something pretty dumb, or missing some basic setup parameter.

I've tried both reloading and restarting after changing the conf.

Thanks in advance

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