Package: dhttpd
Version: 1.02a-13
Severity: wishlist

When a URL consisting of a directory path is given to dhttpd, the
default file "index.html" is not appended unless the path is
NULL or ends in '/'.  Please see function sendFile() in httpsock.cc.
For example:

  URL                                   FILE
  ---                                   ----
www.interet.com                    /var/www/index.html
www.interet.com/iris               ERROR
www.interet.com/iris/              /var/www/iris/index.html
www.interet.com/iris/index.html    /var/www/iris/index.html

I am not sure this behavior is incorrect so I have reported it as
a "wishlist" item.  But I have always found that "index.html" and
perhaps "index.htm" are returned for any directory URL, and that
was the behavior when we ran Apache.

I can take a try at a patch if you want.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages dhttpd depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-13   GCC support library
ii  libstdc++5                  1:3.3.5-13   The GNU Standard C++ Library v3

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to