Lighttpd with mod_secdowload

Discussion in 'HOWTO-Related Questions' started by a.m, Mar 27, 2011.

  1. a.m

    a.m New Member


    I just installed fresh Debian Squeeze and Lighttpd. I need to get mod_secdownload support but it's look like there isn't secdownload module in lighttpd in Debian Squeeze. Is there any way how to add secdownload module support to lighttpd without compiling it from source?

  2. falko

    falko Super Moderator

  3. a.m

    a.m New Member

    Thanks for your answer. I found that but even If I use configuration from I get 404 error when I ask address like /bf32df9cdb54894b22e09d0ed87326fc/435cc8cc/secure.tar.gz

    And there is nothing in the error log...
  4. falko

    falko Super Moderator

    Did you add mod_secdownload to your server_modules section?
    Any errors in the lighttpd logs?
  5. a.m

    a.m New Member

    Yes, I add "mod_secdownload":

    server.modules = (

    and basic configuration bellow it:

    secdownload.secret = "asdsadjejejejeje"
    secdownload.document-root = "/var/www/"
    secdownload.uri-prefix = "/"
    secdownload.timeout = 60

    And still I get 404 error when I type .../bf32df9cdb54894b22e09d0ed87326fc/435cc8cc/secure.tar.gz to my browser. :(

    Nobody know-how?
  6. falko

    falko Super Moderator

    Any errors in the lighttpd logs?
  7. a.m

    a.m New Member

    Now I try it on another installation of Debian Squeeze on another server and it's ok and if I add this lines to config file, mod_secdownload is functional. It could be problem only on that server... I don't understand. :(

    Thank you for your support.
  8. falko

    falko Super Moderator

    Did you check the logs?

Share This Page