[CentOS] CentOS 4.1 Apache

Mon Jul 4 03:26:05 UTC 2005
Johnny Hughes <mailing-lists at hughesjr.com>

On Sun, 2005-07-03 at 19:06 -0700, Ben wrote:
> On Sun, 03 Jul 2005 21:01:25 -0500, you wrote:
> 
> %On Sun, 2005-07-03 at 18:51 -0700, Ben wrote:
> %> Hi folks,
> %> 
> %> I've just put CentOS 4.1 on my webserver, displacing OpenBSD (1 up
> for
> %> Linux :-))
> %> 
> %> I found that the Virtual Hosts function doesn't appear to work. All
> %> virtual hosts accesses default to the main www directory instead of
> %> serving from their respective directories.
> %> 
> %> Has anyone else found the same problem?
> %> 
> %
> %It works fine ... if it didn't, CentOS wouldn't be much of an
> Enterprise
> %OS :)
> %
> %Make sure to un-remark the line:
> %
> %NameVirtualHost *:80
> 
> I did. Here's a snip:
> 
> NameVirtualHost xxx.xxx.xxx.xxx:80
> 
> <VirtualHost xxx.xxx.xxx.xxx:80>
>     DocumentRoot /www/svgeek
>     ServerName www.svgeek.com
> </VirtualHost>
> 
> <VirtualHost xxx.xxx.xxx.xxx:80>
>     DocumentRoot /www/bluesky
>     ServerName www.blueskyinnovations.com
> </VirtualHost>
> 
> <VirtualHost xxx.xxx.xxx.xxx:80>
>     DocumentRoot /www/bluesky
>     ServerName www.power-boot.com
> </VirtualHost>
> 
> 
> where xxx.xxx.xxx.xxx is the external/public IP address.
> 
When you say external/public IP ... is that the IP of a ethX device on
the server OR an external firewall.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050703/ca7871df/attachment-0005.sig>