Re: Filter on top of a CGI script

2005-03-22 Thread Scott Gifford
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

Re: Filter on top of a CGI script

2005-03-22 Thread Slava Bizyayev
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

trouble with Authen::SASL::Cyrus, GSSAPI, and mod_perl

2005-03-22 Thread Ben Poliakoff
[ 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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Tom Schindl
-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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Stas Bekman
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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Stas Bekman
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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Tom Schindl
-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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Tom Schindl
-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 :-

Filter on top of a CGI script

2005-03-22 Thread Scott Gifford
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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Stas Bekman
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

Re: Pushing OutputHandler using PerlFixupHandler

2005-03-22 Thread Tom Schindl
-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

how to invalid an SSL session ?

2005-03-22 Thread Andrea Palmieri
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