From: Dan S. <Da...@IN...> - 2001-07-30 21:04:59
|
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. -----Original Message----- From: Ralf [mailto:rr...@jo...] Sent: Sunday, July 29, 2001 7:14 PM To: sla...@li... 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 -----Original Message----- From: sla...@li... [mailto:sla...@li...]On Behalf Of Ralf Sent: Sunday, July 29, 2001 10:33 AM To: sla...@li... Subject: RE: [Slashcode-development] File download? HI, 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.... Greetz Ralf _______________________________________________ Slashcode-development mailing list Sla...@li... http://lists.sourceforge.net/lists/listinfo/slashcode-development |