httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: Ask about Virtual Hosts!?
Date Wed, 12 Dec 2001 15:04:48 GMT

> From: Tung Nguyen Thanh []

>  I can't run Virtual Host in Apache Webserver in Linux
> RedHat 7.0
>  The site I creat in httpd.conf when I want to display
> on browser only index to a DocumentRoot of the first
> site.
> ServerRoot "/usr/local/apache"
> ServerName

To start, underscores "_" are not a legal character in hostnames.  It is a
bad idea to use them.

Second, please read
This explains in detail that the "main server" document root will never be
used for an IP
address that has name-virtual-hosting.  Instead, you should setup a second
name virtual host that answers for what was the main server.


View raw message