httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tung Nguyen Thanh <tungntapa...@yahoo.com>
Subject Ask about Virtual Hosts!?
Date Wed, 12 Dec 2001 10:47:48 GMT
 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 www.linux_vn.com
DocumentRoot "/docs/htdocs"

 # Use name-based virtual hosting.
NameVirtualHost www.linux_nt.com
<VirtualHost 209.167.130.166>
<Directory "/docs/htdocs">


   Options All
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

servername www.linux_nt.com
errorlog /docs/logs/err_linux.log
customlog /docs/logs/cuslinux.log common
documentroot "/docs/htdocs"
directoryIndex index.html
</virtualhost>

 How can I do !? Help me!


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

Mime
View raw message