httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From O-One <ola_...@yahoo.com>
Subject [users@httpd] NameVirtualHost Help Needed
Date Thu, 09 Dec 2004 16:26:05 GMT
Hello all,

I am about to implement VirtualHost on my server and
was wondering if someone could just help me look at
the following entry to tell me if there is any syntax
or punctuation missing or if I am okay. 

I am also using a weblog for my webserver - Geeklog
 
OS - Windows Server Enterprise 2003



#
# Use name-based virtual hosting.
#
NameVirtualHost 192.168.2.150:80

#
# VirtualHost example:
# Almost any Apache directive may go into a
VirtualHost container.
# The first VirtualHost section is used for requests
without a known
# server name.
#
<VirtualHost 192.168.2.150:80>
    ServerAdmin ola@dostech.gov.ng
    DocumentRoot C:/Program Files/Apache
Group/Apache2/dostech/public_html
    ServerName www.dostech.gov.ng
    ServerAlias dostech.gov.ng *.dostech.gov.ng
    ErrorLog logs/www.dostech.gov.ng-error_log
    CustomLog logs/www.dostech.gov.ng-access_log
common
</VirtualHost>

<VirtualHost 192.168.2.150:80>
    ServerAdmin ola@atb.com
    DocumentRoot C:/Program Files/Apache
Group/Apache2/atb/public_html
    ServerName www.atb.com
    ServerAlias atb.com *.atb.com
    ErrorLog logs/www.atb.com-error_log
    CustomLog logs/www.atb.com-access_log common
</VirtualHost>

<VirtualHost 192.168.2.150:80>
    ServerAdmin ola_one@yahoo.com
    DocumentRoot C:/Program Files/Apache
Group/Apache2/tim/public_html
    ServerName www.tim.com
    ServerAlias tim.com *.tim.com
    ErrorLog logs/www.tim.com-error_log
    CustomLog logs/www.tim.com-access_log common
</VirtualHost>


Thank you

Ola


		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page  Try My Yahoo!
http://my.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message