Bug #235

mod_secdownload in conditional still requires secdownload parameters to be set for global config

Added by Anonymous 1229 days ago. Updated 550 days ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:mod_secdownload
Target version:-
Pending:

Resolution:

fixed


Description

When mod_secdownload is used only in a coditional it breaks the main server that is running on lighttpd.


$HTTP["host"] == "download.domain.com" {
  server.document-root       = "/usr/local/www/download.domain.com" 

  secdownload.secret         = "super-very-shared-secret" 
  secdownload.document-root  = "/usr/local/www/downloadlocation/" 
  secdownload.uri-prefix     = "/download/" 
  secdownload.timeout        = 10800
}

The browser is not able to connect to the server unless the following paramters are set

secdownload.secret
secdownload.document-root
secdownload.uri-prefix

This is tested with 1.3.16.

-- mischa

Associated revisions

Revision 641
Added by jan 1227 days ago

don't set a global uri-prefix and added checks (fixes #235)

History

08/29/2005 12:26 PM - jan

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in r641 (will be in 1.4.2)

Also available in: Atom PDF