HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   HOWTO-Related Questions (
-   -   Lighttpd with mod_secdowload (

a.m 27th March 2011 04:18

Lighttpd with mod_secdowload

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?


falko 27th March 2011 20:35

According to, mod_secdownload should be part of the lighttpd package.

a.m 28th March 2011 11:03

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...

falko 29th March 2011 06:39

Did you add mod_secdownload to your server_modules section?
Any errors in the lighttpd logs?

a.m 29th March 2011 21:06

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?

falko 30th March 2011 18:08

Any errors in the lighttpd logs?

a.m 31st March 2011 15:38

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.

falko 1st April 2011 14:07

Did you check the logs?

All times are GMT +2. The time now is 22:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.