Hi All,
A quick question that I am sure somone on the list has done before;
I need to filter App server Session ID's from the query path. This need only be a simple regex to nibble it out. The links within the response can also contain the SessioN ID so mor_rewrite is out.
Most apache or mod_perl modules I have looked at seem overkill so I find myself looking at Apache::AdBlocker and replacing the image replacement part with a simple regex.
Surely someone has done something similar? If so any suggestions?
As an aside I seem to be able to get mod_perl into most organisations I work at ..... amazing how easy it makes things compared to Java :-)
If you are using mod_perl 2, take a look at:
http://search.cpan.org/dist/Apache-Filter-HTTPHeadersFixup/
which deals with headers. If you need to deal with the bodies, you can write a filter that does that:
http://perl.apache.org/docs/2.0/user/handlers/filters.html
mod_perl 2 filters are much more efficient and are faster than mp1, since it's provided internally by Apache.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html