httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <>
Subject Re: [users@httpd] Understand "httpd -t -D DUMP_VHOSTS"
Date Sat, 25 Apr 2009 13:15:02 GMT
On Fri, Apr 24, 2009 at 10:13 PM, jeff00seattle
<> wrote:
> Presented is the output of httpd -t -D DUMP_VHOSTS.
> Why does every NameVirtualHost reference its configuration twice; one for
> the default server and the other for the port #### namevhost?
> And why do all NameVirtualHost(s) have a default server reference, which
> seems conflicting.
> httpd -t -D DUMP_VHOSTS Output:
> VirtualHost configuration:
> wildcard NameVirtualHosts and _default_ servers:
> _default_:443          localhost (/etc/httpd/conf.d/ssl.conf:81)
> *:8085                 is a NameVirtualHost
>         default server project_site.admin.8085
> (/etc/httpd/conf/extras/virtual-host.project_site.admin.8085.conf:23)
>         port 8085 namevhost project_site.admin.8085
> (/etc/httpd/conf/extras/virtual-host.project_site.admin.8085.conf:23)
> *:8080                 is a NameVirtualHost
>         default server
> (/etc/httpd/conf/extras/
>         port 8080 namevhost
> (/etc/httpd/conf/extras/
> *:80                   is a NameVirtualHost
>         default server project_site.demo.80
> (/etc/httpd/conf/extras/virtual-host.project_site.demo.80.conf:35)
>         port 80 namevhost project_site.demo.80
> (/etc/httpd/conf/extras/virtual-host.project_site.demo.80.conf:35)

You have three ports with one host one each. You're not using name
based virtual hosts at all, but have defined "NameVirtualHost" for
each of your ports.
Therefore apache will list for each port:
- De default vhost
- All defined vhosts.

Because you only have one virtualhost defined per port it gets
menioned twice, that is all.


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message