www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Manifold <t...@bespin.ml.org>
Subject config/1844: NameVirtualHost requires a VirtualHost for my real host.
Date Fri, 20 Feb 1998 06:24:09 GMT

>Number:         1844
>Category:       config
>Synopsis:       NameVirtualHost requires a VirtualHost for my real host.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Thu Feb 19 22:30:01 PST 1998
>Originator:     tril@bespin.ml.org
>Release:        1.3b3
Linux 2.0.32
gcc version
I have one IP address, and I run one virtual host using NameVirtualHost.
If I just have one <VirtualHost..> section, for the single virtual host,
the web server always interprets every incoming request as for the virtual host.
It should default to the main server document root unless the host name
requested was the virtual host.
I worked around the problem by adding a <VirtualHost..> entry for the
actual hostname.  The documents did not mention having to do this, so either 
there is a bug or the document did not include enough information.


Fix NameVirtualHost to not treat every incoming request to the system's only IP
as a virtual host.  Or, alter the documentation to make note of this limitation.
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message