NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/41042: native httpd redirection fails

>Number:         41042
>Category:       bin
>Synopsis:       native httpd redirection fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 19 13:55:00 +0000 2009
>Originator:     Reinoud Zandijk
>Release:        NetBSD 5.99.7
System: NetBSD 5.99.7 NetBSD 5.99.7 (GENERIC) #13: Fri 
Feb 27 13:14:16 CET 2009
Architecture: i386
Machine: i386

httpd version:
-r-xr-xr-x  1 root  wheel  49739 Feb 26 12:51 /usr/libexec/httpd*

When requesting a directory without index.html in the following form:
it succeeds but
fails with httpd segfaulting with signal 11!

its incarnation in inetd.conf is:
www             stream  tcp     nowait:600      www:www /usr/libexec/httpd
httpd -H -X -u -M jad text/ - - -M jnlp
application/x-java-jnlp-file - - -M jar application/java-archive - -

Note that it also fails when issued from the command line.

Configure the native httpd daemon on inetd.conf or start it from the command
line and see it segfaulting in the above example.

Looking in a dumped core it turns out to be in the redirect code.
For a workaround, make sure your website allways uses the trailing slash when
refering to directories.



Home | Main Index | Thread Index | Old Index