A while ago I created a simple Apache handler that should do what you want.
It controls access to a directory based on Slash seclev. This is a
preliminary version that hasn't been tested and doesn't use templates (the
error message is hard-coded into the module). I have attached it to this
message... Hopefully this mailing list will allow attachments.
From: Ralf [mailto:rrk@...]
Sent: Sunday, July 29, 2001 7:14 PM
Subject: RE: [Slashcode-development] File download? Tke 2
New Problem, I got the script working, however It can only access directory
and files that are anyways accessible by the apache daemon, so it kinda
defeats the purpouse.
Is theer away to make some sort of handler in the conf file that is you want
to access a specific dir you need to be logged in with a certain seclev? Hmm
I guess that entire dl.pl was for the dogs anyway
[mailto:slashcode-development-admin@...]On Behalf Of
Sent: Sunday, July 29, 2001 10:33 AM
Subject: RE: [Slashcode-development] File download?
Just remembered http://www.perlmoks.com and did a search for, well file
download, and voila, there it is...
now I just need to figure out how to use a template from the DB....
What will be next? a D/L counter? A full blown file area plug-in for slash?
I answered myself in case someone else wanted to know about this....
Slashcode-development mailing list
Get latest updates about Open Source Projects, Conferences and News.