Project

General

Profile

Actions

Bug #8

closed

mod_secdownload doesn't not work when trying to map all subdomains to a single document-root

Added by Anonymous over 17 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_secdownload
Target version:
-
ASK QUESTIONS IN Forums:

Description

Currently there is no way to set the mod_secdownload module on a per host basis if you are using handish virtual hosting. Mod_secdownload works fine globally, however when you try and place it under $HTTPhost =~ "\.example\.org$" { it blocks all pages with this in the error log:

2005-02-14 01:49:58: (mod_secure_download.c.234) secdownload.secret has to be set

In the conf file:

$HTTPhost =~ "\.example\.org$" {
secdownload.secret = "yoursecretcode"
secdownload.document-root = "/home/www/private.example.org/"
secdownload.uri-prefix = "/_dl/"
}

-- Ggazz00

Actions #1

Updated by Anonymous over 17 years ago

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

was an error in mod_secdownload_patch_connection. It was checking the wrong optionname.

Fixed in r17

-- jan

Actions

Also available in: Atom