hello list
i try to figure out, how to protect webspace with mod_perl. the
situation is like this:
someone wants to access a certrain file on the webserver. if he have a
cookie set, this one will be validatet by a remote database and,
if the database allow the access, the access to the directory will be
allowed.
i tryed it with the <location /custom-content>-directive like this:
<Location /custom-content>
SetHandler perl-script
PerlHandler Test::MyAccess
</Location>
in the module i figure out the cookie from the %ENV-hash, validate it
and i can make a decision, if the request is allowed or not.
my problem now is, of i redirect th the directory, the access-process
falls into an infinte loop..:-(
i would like to shown now the content of this directory and even more,
php-scripts in it must then be displayed and executed, and sent back to
the client.
thanks for your help and any ideas!
gruess from switzerland,
timon
--
Timon Roth, Triemlistrasse 92, 8047 Zürich
+4143 8174031,+4179 6365728, skype: timon.roth
timon.r...@digitalforce.ch, www.digitalforce.ch
http://tel.search.ch/zuerich/triemlistrasse-92/timon-roth