--- ./server/config.c.orig 2010-10-07 18:56:54.000000000 +0200 +++ ./server/config.c.orig 2012-09-05 08:39:18.000000000 +0200 @@ -1979,6 +1979,11 @@ /* NOT virtual host; don't match any real network interface */ rv = apr_sockaddr_info_get(&s->addrs->host_addr, NULL, APR_INET, 0, 0, p); +#if APR_HAVE_IPV6 + if (rv != APR_SUCCESS) + rv = apr_sockaddr_info_get(&s->addrs->host_addr, + NULL, APR_INET6, 0, 0, p); +#endif ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */ s->addrs->host_port = 0; /* matches any port */