Bug #1766
mod_secdownload loaded but not firing on windows
| Status: | Invalid | Start: | ||
| Priority: | Urgent | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | mod_secdownload | |||
| Target version: | - | |||
| Pending: | No |
Resolution: | invalid |
|
| Patch available: |
Description
Mi config is:
server.modules = (
"mod_secdownload",
"mod_access",
"mod_accesslog",
)
secdownload.secret = "123456"
secdownload.document-root = "C:/download/"
secdownload.uri-prefix = "/dl/"
secdownload.timeout = 10
server.errorlog = "C:/lighttpd/logs/lighttpd.error.log"
debug.log-request-header = "enable"
debug.log-response-header = "enable"
debug.log-request-handling = "enable"
debug.log-file-not-found = "enable"
This is what log report:
2008-09-05 11:37:21: (request.c.294) fd: 5 request-len: 659 GET /download/golfers.flv HTTP/1.1 Accept: */* Accept-Language: it-it,en-US;q=0.5 UA-CPU: x86 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SU 3.005; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; FDM; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Host: jeegrobot:81 Connection: Keep-Alive Cookie: HstCla95986=1238686847578; HstCnv95986=3; HstC1p95986=1238686844109; HstCup95986=21; c_ppu_95986=21; c_ref_95986=http%3A//ddd/ddd/index.php; c_refdom_95986=0; c_old_pagid_95986=0; c_ret_roi_95986-1=1 2008-09-05 11:37:21: (response.c.212) -- splitting Request-URI 2008-09-05 11:37:21: (response.c.213) Request-URI : /download/golfers.flv 2008-09-05 11:37:21: (response.c.214) URI-scheme : http 2008-09-05 11:37:21: (response.c.215) URI-authority: jeegrobot:81 2008-09-05 11:37:21: (response.c.216) URI-path : /download/golfers.flv 2008-09-05 11:37:21: (response.c.217) URI-query : 2008-09-05 11:37:21: (response.c.267) -- sanatising URI 2008-09-05 11:37:21: (response.c.268) URI-path : /download/golfers.flv 2008-09-05 11:37:21: (mod_access.c.135) -- mod_access_uri_handler called 2008-09-05 11:37:21: (response.c.382) -- before doc_root 2008-09-05 11:37:21: (response.c.383) Doc-Root : HTDOCS/ 2008-09-05 11:37:21: (response.c.384) Rel-Path : /download/golfers.flv 2008-09-05 11:37:21: (response.c.385) Path : 2008-09-05 11:37:21: (response.c.433) -- after doc_root 2008-09-05 11:37:21: (response.c.434) Doc-Root : HTDOCS/ 2008-09-05 11:37:21: (response.c.435) Rel-Path : /download/golfers.flv 2008-09-05 11:37:21: (response.c.436) Path : HTDOCS/download/golfers.flv 2008-09-05 11:37:21: (response.c.453) -- logical -> physical 2008-09-05 11:37:21: (response.c.454) Doc-Root : HTDOCS/ 2008-09-05 11:37:21: (response.c.455) Rel-Path : /download/golfers.flv 2008-09-05 11:37:21: (response.c.456) Path : HTDOCS/download/golfers.flv 2008-09-05 11:37:21: (response.c.473) -- handling physical path 2008-09-05 11:37:21: (response.c.474) Path : HTDOCS/download/golfers.flv 2008-09-05 11:37:21: (response.c.530) -- file not found 2008-09-05 11:37:21: (response.c.531) Path : HTDOCS/download/golfers.flv 2008-09-05 11:37:21: (response.c.116) Response-Header: HTTP/1.1 404 Not Found Content-Type: text/html Content-Length: 345 Date: Fri, 05 Sep 2008 09:37:21 GMT Server: LightTPD/1.4.19-1 (Win32)
-- gallo
History
09/05/2008 12:52 PM - stbuehler
- Status changed from New to Fixed
- Resolution set to invalid
uri-prefix "/dl" != "/download"
09/05/2008 01:16 PM - Anonymous
- Status changed from Fixed to Need Feedback
- Resolution deleted (
invalid)
secdownload.secret = "123456"
secdownload.document-root = "C:/download/"
secdownload.uri-prefix = "/download/"
secdownload.timeout = 10
I tried with this and it still doesn't work
09/05/2008 04:21 PM - stbuehler
- Status changed from Need Feedback to Fixed
- Resolution set to invalid
You forgot to include the log for the correct config. and a timeout of 10 seconds isn't very much. and your request in the old doesn't include the needed hash. so, to sum it up: this is a bug tracker, not a support forum.