Hello

On Wed, Oct 12, 2005 at 11:25:43AM -0400, James C. Ahlstrom wrote:
> 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.

This is not an error as it is what you could expect. However if it match
a directory (instead of a file) you could see this as nice feature.
Patches are of course welcome, especially if they are sent to upstream
as well for incorporation there. :)

Regards,

// Ola

> -- 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
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


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

Reply via email to