Hello,

Can you help me solve what probably is a very simple problem with virtual directories. I need to define two different virtual hosts for the same IP.

So I defined:

NameVirtualHost 83.19.156.210

<VirtualHost 83.19.156.210>
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /usr/local/www/data/
   ServerName lists.lc-words.com
   ErrorLog /var/log/httpd-error.log
   CustomLog /var/log/httpd-access.log common
</VirtualHost>

<VirtualHost 83.19.156.210>
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /usr/local/www/data/blog/
   ServerName blog.lc-words.com
   ErrorLog /var/log/httpd-error.log
   CustomLog /var/log/httpd-access.log common
</VirtualHost>

However, when I restart apache, I get:
[Wed Jan 09 16:59:34 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence

What do I need to change to make it right?

Many thanks!

Zbigniew Szalbot
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to