On Fri, Apr 24, 2009 at 10:13 PM, jeff00seattle
<jeff_tan...@earthlink.net> 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 project_site.dev.8080
> (/etc/httpd/conf/extras/virtual-host.project_site.dev.8080.conf:28)
>         port 8080 namevhost project_site.dev.8080
> (/etc/httpd/conf/extras/virtual-host.project_site.dev.8080.conf:28)
> *: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.

Krist

-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to