: [us...@httpd] Host-header from requests are ignored?
- ma...@manfbraun.de wrote:
Hello !
I read the apache docs [using 2.2.9], but there is a lot of stuff,
which is different in Debian [lenny, 5.0.6].
Apache ignores the host-header given by the browser:
http://x or http://x:81 or http
Anyway, which host-header I specify - any valid ip-address pointing to this
machine - strands in the same directory!
http://httpd.apache.org/docs/current/mod/core.html#namevirtualhost
--
Eric Covener
cove...@gmail.com
-
The
Anyway, which host-header I specify - any valid ip-address pointing to this
machine - strands in the same directory!
What's the output of 'httpd -S'?
Joost
-
The official User-To-User support forum of the Apache HTTP Server
: Igor Galic [mailto:i.ga...@brainsware.org]
Sent: Monday, October 18, 2010 1:00 PM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] Host-header from requests are ignored?
- ma...@manfbraun.de wrote:
Hello !
I read the apache docs [using 2.2.9], but there is a lot of stuff,
which
Hello !
I read the apache docs [using 2.2.9], but there is a lot of stuff,
which is different in Debian [lenny, 5.0.6].
Apache ignores the host-header given by the browser:
http://x or http://x:81 or http://x.mbg.local are all served, but should be
blocked.
The definition for x stems from my
- ma...@manfbraun.de wrote:
Hello !
I read the apache docs [using 2.2.9], but there is a lot of stuff,
which is different in Debian [lenny, 5.0.6].
Apache ignores the host-header given by the browser:
http://x or http://x:81 or http://x.mbg.local are all served, but
should be
VirtualHost hugo:80
That means the virtualhost applies to the IP address hugo resolves to,
it doesn't affect which virtualhost will be used when the client sends
hugo in the host header. See the basic doc on name-based vhosts.