You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Davide Bianchi <da...@onlyforfun.net> on 2005/09/16 16:46:07 UTC

Re: [users@httpd] apache 2 with virtual hosts don't work

Susan Roesner RZ wrote:
> generates the following error at start, if a virtual host is configured:
> "[Fri Sep 16 16:51:19 2005] [crit] [Fri Sep 16 16:51:19 2005] file vhost.c, line 
> 190, assertion "rv == APR_SUCCESS" failed"

I had the same issue, and discovered that on Solaris you need to enable
DNSses for Apache to work with Virtual Hosts.
Check in /etc/nsswitch.conf if hosts report both files and dns and
eventually add the last one.

Davide


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org