I know this probably isn't a beginners question...
I need to set up a proxy server to filter IFRAME tags before a thrid
party piece of software sees them and chokes on them. The third party
application is good about listening making requests using a proxy on any
port I want, I just need a proxy that can listen on these ports. The
whole thing runs on linux and isn't portable anyway so I could care less
about whether the proxy is portable. It just needs to listen on a port
and relay the communications, snipping IFRAMEs out of the responses.
I looked at CGIProxy and it won't work because it alters all links in
the document. (Its not based on listening on ports)
We're using a java based proxy called muffin now. Problem is muffin
tends to stop responding for no apparent reason. Maybe memory leaks or
something... They're only on version 0.93a so I can understand why its
buggy.
I think apache may be able to do something like this, but I also saw
there was some controversy about using apache to filter banner ads...
If anyone has dealt with any such things, and can point in the right
direction, I'd be most greatful. I'd like to stick with Perl, but I'm
also comfortable with Python, Java, C and C++.
Thanks,
- Johnathan