NameVirtualHost www.xxx.yyy.zzz

<VirtualHost www.xxx.yyy.zzz>

-HTH

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:plug-
> [EMAIL PROTECTED] On Behalf Of gp
> Sent: Tuesday, January 31, 2006 8:30 PM
> To: PH-plug
> Subject: [plug] Apache 2 virtual host question
> 
> I am trying to transfer 2 websites from my XAMP to LAMP. I am using
> Fedora Core 4. I can only see one of my websites, the second website
> would just give me the apache welcome whenever I try to type the URL.
> Below are the setting on Win2000/Apache2 which really works. Please give
> me some suggestions or  website links on how to make it work on the
> Linux Box. No matter what I do with the httpd.conf on the  LAMP machine
> I can not make the second website come out. Thanks for the help.
> 
> glen
> ##############################################################
> ### Section 1: Global Environment
> ServerRoot "C:/server/Apache2"
> Listen 80
> 
> ### Section 2: 'Main' server configuration
> ServerAdmin [EMAIL PROTECTED]
> ServerName xxx.yyy.zzz.aaa:80 ###the static IP is here#######
> UseCanonicalName Off
> DocumentRoot "C:/server/docroot"
> 
> NameVirtualHost  *:80
> 
> 
> <VirtualHost  *:80>
>     ServerName   xxxxx.xxxos.com
>     ServerAlias  www.xxxxxx.xxxos.com
>     DocumentRoot /www/xxxxxx
>     ErrorLog logs/xxxxxx-error_log
>     CustomLog logs/xxxxxxx-access_log common
> </VirtualHost>
> 
> <VirtualHost  *:80>
>     ServerName   yyyyyyyy.xxxos.com
>     ServerAlias  www.yyyyyyy.xxxos.com
>     DocumentRoot /www/yyyyyyyy
>     ErrorLog     c:\www\yyyyyyyy\logs\yyyyyyyy-error_log
>     CustomLog    c:\www\yyyyyyyy\logs\yyyyyyyy-access_log common
> </VirtualHost>
> #########################################################################
> 
> 
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to