I'd like to use this perl script to log users into my webserver:
http://perl-md5-login.sourceforge.net/
I'm able to set up the program on my apache server without any
problems, however, i would like to be able to redirect logged in users
to specific directories based on their username.
Unfortunately I've absolutely no knowledge of perl, so I'm not sure
how to achieve this.
I'd also need to be able to restrict direct access to these
directories, via the apache config file or otherwise. The directories
would not contain any html files, so the users will just see a
directory listing.
Finally it would be great, although not completely necessary, if i
could do the following:
Apache lets you set up a header html file to insert before a directory
listing - I'd like to include an option there to logout (ie a
hyperlink or button that would clear the cookie set by the login
script). There is some code in the script which does this so hopefully
it shouldn't be too hard.
Any help with this would be much appreciated. |