Okay, I've r'd the fm, I've followed the examples, I cannot get
name-based virtual hosts to work.

I've got this in my httpd2.conf:

Include conf/vhosts/Vhosts.conf

and I know it does have an effect, as whatever document root is
specified first is served, but never the second.

here is my Vhosts.conf

################# Named VirtualHosts
NameVirtualHost *
<VirtualHost *>
ServerName www.orderinchaos.org
DocumentRoot /var/www/html  
</VirtualHost>

<VirtualHost *>
ServerName www.nodex.orderinchaos.org
DocumentRoot /var/www/html/oic
</VirtualHost>

I've done this according to the docs on the Apache page, as per the
example here:

http://httpd.apache.org/docs-2.0/vhosts/name-based.html

I have Zonedit.com pointing both orderinchaos.org and
nodex.orderinchaos.org at my external IP, but like I say, only the first
entry has any effect.

What am I missing, besides a clue?

Thanks all!

-- 
HaywireMac

The more laws and order are made prominent, the more thieves and
robbers there will be.
                -- Lao Tsu

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to