RE: [CentOS] virtual host on latest centos 4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Resolved.

Wow I can't believe it, I spent hours on that! I think the fact that the
default site used the first virtual host was spinning me out.

I've rebooted the server and also added another vhost and all is good.
The second vhost is fine.

FYI my vhost look like this:

------------

NameVirtualHost 192.168.1.250


<VirtualHost 192.168.1.250>
  suPHP_UserGroup cremaster users
  ServerAdmin support@xxxxxxxxxxx
  ServerName www.cre.co.uk
  ServerAlias cre.co.uk
  DocumentRoot /secure/c/cre.co.uk
  Alias /logs /webstats/c/cre.co.uk/webalizer
</VirtualHost>

<VirtualHost 192.168.1.250>
  suPHP_UserGroup cremaster2 users
  ServerAdmin support@xxxxxxxxxxx
  ServerName www.cre2.co.uk
  ServerAlias cre2.co.uk
  DocumentRoot /secure/c/cre2.co.uk
  Alias /logs /webstats/c/cre2.co.uk/webalizer
</VirtualHost>

-------------

Thanks all for your Help, I hope I can help someone out later sometime.

Mark.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux