NameVirtualHost 123.123.123.123:80
<VirtualHost 123.123.123.123:80>
ServerName www.afrilibtest.net
DocumentRoot /var/www/html/
ErrorLog /var/rubyapps/testapp/log/apache.log
</VirtualHost>
ErrorLog /var/rubyapps/testapp/log/apache.log
</VirtualHost>
<Virtualhost 123.123.123.123:80>
ServerName www.testsite.org
DocumentRoot /var/www/html/testsite
</VirtualHost>
Doing this will also allow you to properly mix and match IP and named-based virtualhosts.
Cheers,
Victor
On 4/13/06, Axel-Stéphane SMORGRAV <[EMAIL PROTECTED]
> wrote:
The following may qualify as a minimum configuration... Have not tested it, though. I assumed you were using worker MPM.
In the config below, I believe the virtual host <VirtualHost *> can explain your problem. See it has DocumentRoot /var/www/html ??? I believe you meant this virtual host directive to read <VirtualHost *:80
Problem solved.
-ascs
--
http://www.victortrac.com
