Re: Filtering HTML files with mod_proxy and mod_perl

2000-07-20 Thread Wim Kerkhoff
Cool! I'll probably use that if I do a next version of my filter, and if I want to manipulate the content based on the content type, the host that is requesting it, etc. Right now, I'm just using it as the proxy server on my LAN, so that only those who now a password can surf. If they can't,

Re: Filtering HTML files with mod_proxy and mod_perl

2000-07-19 Thread darren chamberlain
Alvar Freude ([EMAIL PROTECTED]) said something to this effect: Hi, I want to create a service which filters HTML files like this: http://www.a-blast.org/web-blast.html == http://www.a-blast.org/web-blast.plx?url=http://www.nsa.gov/programs/employ/ The user should enter a proxy in his

RE: Filtering HTML files with mod_proxy and mod_perl

2000-07-19 Thread Wim Kerkhoff
Hi Alvar, On 19-Jul-2000 Alvar Freude wrote: Hi, I want to create a service which filters HTML files like this: http://www.a-blast.org/web-blast.html == http://www.a-blast.org/web-blast.plx?url=http://www.nsa.gov/programs/employ/ But it should go through a proxy, you don't need to

RE: Filtering HTML files with mod_proxy and mod_perl

2000-07-19 Thread Wim Kerkhoff
On 19-Jul-2000 Alvar Freude wrote: Is this possible with mod_perl and md_proxy? Yes (see me other post) And if yes: where I can find documentation for this? Look at http://www.apache.org/docs/mod/mod_proxy.html, as well as perldoc Apache::Proxy (once you've installed Apache::Proxy).

Re: Filtering HTML files with mod_proxy and mod_perl

2000-07-19 Thread Wim Kerkhoff
On 19-Jul-2000 Alvar Freude wrote: Hi Wim, I've created something like this. I've attached the script I used to build mod_proxy and mod_perl, and a short Apache::MyFilter to show how to use this. Note: I've cut down the handler from my version without really testing it, so it may have

Re: Filtering HTML files with mod_proxy and mod_perl

2000-07-19 Thread Alvar Freude
Hi Wim, I've created something like this. I've attached the script I used to build mod_proxy and mod_perl, and a short Apache::MyFilter to show how to use this. Note: I've cut down the handler from my version without really testing it, so it may have a couple syntax errors. thanx! But

Re: Filtering HTML files with mod_proxy and mod_perl

2000-07-19 Thread Alvar Freude
Hi, This is what mod_proxy does on its own, no mod_perl needed. including filtering? If you wanted to do it in "pure" mod_perl (no mod_proxy), write a TransHandler similar to the ones listed in chapter 7 of the Eagle book, pp 368 - 381 (pp 372 - 373, for example, is an anonymoizing

Re: Filtering HTML files with mod_proxy and mod_perl

2000-07-19 Thread Alvar Freude
Hi, If you find a way to do it with Apache::Proxy, let the list know. I am sure it will work with the example given by Darren. If i checked it I think I'll create a small module and can spread it. One of the major reasons I went this route over something like the examples in the mod_perl