RE: Intercepting with data for mod_dav
[prev]
[thread]
[next]
[Date index for 2005/02/04]
I've been doing this with mod_perl 2.. here's the relative parts of my
config:
============
Alias /dav_files /home/users
#
# hook into the other phases for
#
<Location /dav_files>
PerlOutputFilterHandler MyEncrypt::output
PerlInputFilterHandler MyEncrypt::input
PerlSetOutputFilter DEFLATE
#
# Request Phase Handlers
#
PerlAuthenHandler MyAuthenticate
AuthType basic
AuthName "xxx"
Require valid-user
Satisfy all
</Location>
#
# Actual access to the files.... use will be already authenticated
#
<Directory /home/users/*/>
AllowOverride None
DAV on
</Directory>
======================
Hope this helps.
To the list:
My encryption is proprietary based on the PW the user sends... anyone know a
tested symmetric streaming (not block) encryption algoritm?
Jeff
-----Original Message-----
From: Stefan Sonnenberg-Carstens [mailto:ssc@xxxxxxxx.xx]
Sent: Friday, February 04, 2005 9:11 AM
To: modperl@xxxx.xxxxxx.xxx
Subject: Intercepting with data for mod_dav
Hi list,
I'm struggeling a bit with the following :
I set a mod_dav DAV server, which works fine.
One thing I *must* accomplish, is to write the
uploaded files encrypted in some way to the disk,
and publish them back unencrypted.
That should be perfectly possible with
apache's filters.
The problem seems to be, that mod_perl doesn't see
anything if dav is set to on on a specific dir ?
Is that true ?
What I need is small (very small) hint, how to get the data
that the PUT and GET requests offer, or if this
is possible at all.
Thx in advance,
Stefan Sonnenberg
 |
 |
RE: Intercepting with data for mod_dav
Jeff Finn 14:32 on 04 Feb 2005
|