Project

General

Profile

Actions

Bug #1350

closed

dir-listing handled as static file, from 2nd request

Added by Anonymous over 16 years ago. Updated over 16 years ago.

Status:
Fixed
Priority:
Low
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

Config:


$HTTP["url"] =~ "^/download/" {
                dir-listing.activate = "enable" 
                dir-listing.show-readme = "enable" 
        }

First request:

$ curl http://example.com/download/

(...) <h2>Index of /download/</h2> (...)

Second (and any other later) request:

$ curl http://example.com/download/

404 page shown

The logs say:

First:

2007-09-10 14:18:56: (mod_access.c.135) -- mod_access_uri_handler called

2007-09-10 14:18:56: (mod_dirlisting.c.873) -- handling the request as Dir-Listing

2007-09-10 14:18:56: (mod_dirlisting.c.874) URI : /download/

2007-09-10 14:18:56: (response.c.625) -- subrequest finished

Second:

2007-09-10 14:18:58: (mod_access.c.135) -- mod_access_uri_handler called

2007-09-10 14:18:58: (mod_staticfile.c.394) -- handling file as static file

2007-09-10 14:18:58: (mod_staticfile.c.425) not a regular file: /download/ -> /path/download/

2007-09-10 14:18:58: (response.c.625) -- subrequest finished

-- kenzo

Actions #1

Updated by Anonymous over 16 years ago

This only applies to lighttpd with mod_extforward module loaded.

-- kenzo

Actions #2

Updated by Anonymous over 16 years ago

This is a duplicate of http://trac.lighttpd.net/trac/ticket/1164

A working fix is posted at the bottom of that page.

-- kenzo

Actions #3

Updated by jan over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to duplicate
Actions

Also available in: Atom