Bug #235
mod_secdownload in conditional still requires secdownload parameters to be set for global config
| 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
don't set a global uri-prefix and added checks (fixes #235)