>Number: 788
>Category: os-linux
>Synopsis: (1) mod_dld doensn't compile. (2) Virtual hosting is broken in
>certain circumstances
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache (Apache HTTP Project)
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Jun 25 15:20:05 1997
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.2.0
>Environment:
Linux 2.0.31-pre-2, gcc 2.7.2.2, libc5-5.4.23, binutils-2.8.1.
Distribution: Debian 1.2, upgraded to 1.3 (via the packaging system).
>Description:
(1) mod_dld doesn't work - I have dlfcn.h but no dld.h
(2) Virtual hosting is broken if a Host: header is passed containing the
short form of the hostname (i.e., 'web' as opposed to 'web.dom.ain').
Also, with HTTP/1.0 it seems broken - with no Host: I get the wrong
one, even if I connected to an interface (from another machine) that
has a <VirtualHost> entry in httpd.conf.
I probably did something terribly wrong so feel free to ignore. :)
However, the first problem would qualify as not-so-good so I'll leave
the severity to "serious"
>How-To-Repeat:
telnet webserver 80
GET / HTTP/1.0
Host: web
GET / HTTP/1.1
Host: web
GET / HTTP/1.0
Host: web.virtual.domain
GET / HTTP/1.0
[empty line]
The first two and the latter give the wrong ServerRoot index.html
>Fix:
I'd check it out better if I had more time... if you need any specifics,
feel free to mail.
With regards,
-- Niels
>Audit-Trail:
>Unformatted: