HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Lighttpd with mod_secdowload (http://www.howtoforge.com/forums/showthread.php?t=52046)

a.m 27th March 2011 05:18

Lighttpd with mod_secdowload
 
Hi,

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?

Thanks!

falko 27th March 2011 21:35

According to http://packages.debian.org/squeeze/a...httpd/filelist, mod_secdownload should be part of the lighttpd package.

a.m 28th March 2011 12:03

Thanks for your answer. I found that but even If I use configuration from http://redmine.lighttpd.net/wiki/1/Docs:ModSecDownload 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 07:39

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

a.m 29th March 2011 22:06

Yes, I add "mod_secdownload":

server.modules = (
...
"mod_secdownload",
...
)

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 19:08

Any errors in the lighttpd logs?

a.m 31st March 2011 16: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 15:07

Did you check the logs?


All times are GMT +2. The time now is 10:49.

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