I am writing some modules to do authentication
in a reverse proxy scenario.
In a userid-password authentication mechanism I can
invalid an authentication session using
$r->note_basic_auth_failure();return
Apache::AUTH_REQUIRED;
In this way I can invalid the authentication
session an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[...]
Stas Bekman wrote:
|
| I suppose it'd be nice to mention those in
| http://perl.apache.org/docs/2.0/user/handlers/filters.html
| patches are welcome :)
|
[...]
Here's a proposed patch for the docs. I didn't manage to create diff
using the svn diff
Tom Schindl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[...]
Stas Bekman wrote:
|
| I suppose it'd be nice to mention those in
| http://perl.apache.org/docs/2.0/user/handlers/filters.html
| patches are welcome :)
|
[...]
Here's a proposed patch for the docs. I didn't manage to create diff
Hello,
I've got a filter which replaces references to a particular hostname
with another name, to allow testing of a new server. The filter is
very simple, and works great for static files (thanks in part to some
earlier help from this list!)
But, I can't get it to work for CGI scripts. If I pu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stas Bekman wrote:
| Tom Schindl wrote:
|
[...]
|
| and finally the config section is lucking. Otherwise users will not know
| when this handler is run :)
|
| Thanks Tom.
|
Ok. Here it is including the config-sections and without the unneeded
imports :-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
and now without a typo :-(
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCQGbGkVPeOFLgZFIRAttrAJ9NsndbNWSgoDWCyxbSRbB7RnsFUgCghGh7
VNR3MxH4ksdK5nHH8KhzMnw=
=SsgX
Tom Schindl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
and now without a typo :-(
Looks good, Tom. One question though: Why not just do:
PerlOutputFilterHandler Beso::OutFilterHandler
or did you mean the patch to be just a demonstration of how to add a
filter if you are already insid
Tom Schindl wrote:
Exactly as the title of the section should explain:
"Adding OutFilters dynamically" ;-)
Thanks Tom. Both patches are now committed with a few tweaks and
extensions. (will be online within 6h)
--
__
Stas Bekman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stas Bekman wrote:
| Tom Schindl wrote:
|
|> -BEGIN PGP SIGNED MESSAGE-
|> Hash: SHA1
|>
|> and now without a typo :-(
|
|
| Looks good, Tom. One question though: Why not just do:
|
|
| PerlOutputFilterHandler Beso::OutFilterHandler
|
|
| or
[ Disclaimer: I'm new to mod_perl, but fairly comfortable with perl. ]
Has anyone successfully used this combination?
I've written a number of scripts that use the Authen::SASL::Cyrus xs
module (this module extends Authen::SASL, linking to libsasl and thereby
gaining access to the authentication
Hi Scott,
As far as I understand, your handler Apache::SiteMoved does all the
dirty work for you on Apache-1, replacing the hostname. Additionally,
you want your CGI script to remain as a CGI for some reason. In this
case you can happily live with no Filter chain. Just take the input of
your handl
Thanks for you response, Slava. More below...
Slava Bizyayev <[EMAIL PROTECTED]> writes:
> Hi Scott,
>
> As far as I understand, your handler Apache::SiteMoved does all the
> dirty work for you on Apache-1, replacing the hostname.
Yes.
> Additionally, you want your CGI script to remain as a C
12 matches
Mail list logo