Subject: Re: apache-2.0.61 problems
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Louis Guillaume <lguillaume@berklee.edu>
List: pkgsrc-users
Date: 10/22/2007 01:43:45
Martti Kuparinen wrote:
> Hi,
>
> It seems like apache-2.0.61 does not work correctly (at least in
> NetBSD/amd 4.0_RC1). Here's what happens when I try to fetch a
> non-existing document:
>
>
> # telnet localhost 80
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
> GET /xxx
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>404 Not Found</title>
> </head><body>
> <h1>Not Found</h1>
> <p>The requested URL /xxx was not found on this server.</p>
> <hr>
> <address>Apache/2.0.61 (Unix) mod_ssl/2.0.61 g \000\022
> TeX font metric data
> #>34 string >\0 (%s)
>
> # Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)
> #0 string \\input\ texinfo Texinfo source text
> #0 string This\ is\ Info\ file GNU Info text
>
> # correct TeX magic for Linux (and maybe more)
> # from Peter Tobias (tobias@server.et-inf.fho-emden.de)
> #
> 0 leshort 0x02f7 application/x-dvi
>
> # RTF - Rich Text Format
> 0 string {\\rtf application/rtf
>
> #------------------------------------------------------------------------------
>
> # animation: file(1) magic for animation/movie formats
> #
> # animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)
> # MPEG file
> 0 string \000\000\001\263 video/mpeg
> #
> #xd{ DAV/2 PHP/5.2.4 Server at www.piuha.net Port 80</address>
> </body></html>
> Connection closed by foreign host.
>
>
> As an emergency solution I downgraded back to apache-2.0.59nb7 and
> apr-0.9.12.2.0.59nb3 and everything is okay again:
>
>
> # telnet localhost 80
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
> GET /xxx
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>404 Not Found</title>
> </head><body>
> <h1>Not Found</h1>
> <p>The requested URL /xxx was not found on this server.</p>
> <hr>
> <address>Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8e DAV/2
> PHP/5.2.4 Server at www.piuha.net Port 80</address>
> </body></html>
> Connection closed by foreign host.
>
>
> Is anyone else having this kind of problems?
Yes, Me! And on NetBSD 3.1_STABLE (GENERIC.MP) #7: Fri Oct 12 02:04:16
EDT 2007
$ telnet xxxx 80
Trying 192.168.1.100...
Connected to xxxx.xxxx.com.
Escape character is '^]'.
get /
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>get to /index.shtml not supported.<br />
</p>
<hr>
<address>Apache/2.0.61 (Unix) mod_ssl/2.0.61 ata
#0 string \367\312 TeX virtual font data
#0 string This\ is\ TeX, TeX transcript text
#0 string This\ is\ METAFONT, METAFONT transcript text
# There is no way to detect TeX Font Metric (*.tfm) files without
# breaking them apart and reading the data. The following patterns
# match most *.tfm files generated by METAFONT or afm2tfm.
#2 string \000\021 TeX font metric data
#2 string \000\022 TeX font metric data
#>34 string >\0 (%s)
# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)
#0 string \\input\ texinfo Texinfo source text
#0 string This\ is\ Info\ file GNU Info text
# correct TeX magic for Linux (and maybe more)
# from Peter Tobias (tobias@server.et-inf.fho-emden.de)
#
0 leshort 0x02f7 application/x-dvi
# RTF - Rich Text Format
0 string {\\rtf application/rtf
#------------------------------------------------------------------------------
# animation: file(1) magic for animation/movie formats
#
# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)
# MPEG file
0 string \000\000\001\263 video/mpeg
#
#ð L»§1/2»§1/2Àà DAV/2 PHP/5.2.4 Server at xxx.xxx.com Port 80</address>
</body></html>
Connection closed by foreign host.
I noted that if I simply did a "GET", without specifying the file to
retrieve, it worked returned the right data.
Unfortunately I downgraded right away to 2.0.59... before I noticed that
it was trying to do resolve a .shtml file. Maybe its a problem w/ SSI.
2.0.61 works fine on OS X. That's the only other platform I've tried.
Louis