Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
Hi, after playing around and not liking the results, I'm redirecting to a cgi that does allow inserting of content and I'm getting my ads now. Still using mod_proxy, but no substitutions. Thanks for the help! On Tue, Oct 27, 2009 at 1:07 PM, Marcos Mendez wrote: > On Tue, Oct 27, 2009 at 12:45 P

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
On Tue, Oct 27, 2009 at 12:45 PM, Mike Cardwell wrote: > Marcos Mendez wrote: > >> Hi Mike, when I run google (yahoo, eweek etc) through the proxy (using >> mod_substitute) i do not see my modification in the page source, no >> matter where I try to insert it. > > Then why don't you start with som

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Mike Cardwell
Marcos Mendez wrote: Hi Mike, when I run google (yahoo, eweek etc) through the proxy (using mod_substitute) i do not see my modification in the page source, no matter where I try to insert it. Then why don't you start with something really basic like the following: Substitute "s|(]*)>|$1>HELL

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
Hi Mike, when I run google (yahoo, eweek etc) through the proxy (using mod_substitute) i do not see my modification in the page source, no matter where I try to insert it. - The official User-To-User support forum of the Apache HT

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
Had not heard of mod_publisher. I tried it out, and for my simple test page it seems to work great. However when I visit other sites I'm getting a content encoding error. I've disabled any content modification, to test that just passing the pages through would work, but it doesn't. So added a Load

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Mike Cardwell
Marcos Mendez wrote: Hi, I've tried this approach but it doesn't work reliably. I've tried replacing the start or end body, html and even head tags as I typically use a script hosted on my adserver to serve the ads. So I simply replaced the script with your suggestion. This approach does work fo

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Nick Kew
Marcos Mendez wrote: Hi, I've tried this approach but it doesn't work reliably. I've tried replacing the start or end body, html and even head tags as I typically use a script hosted on my adserver to serve the ads. So I simply replaced the script with your suggestion. This approach does work for

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Mark H. Wood
I wouldn't be surprised if there are teams of sharp developers at those *advertising-supported* organizations tasked with making it difficult for you to compete with them. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. pgp37

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Marcos Mendez
Hi, I've tried this approach but it doesn't work reliably. I've tried replacing the start or end body, html and even head tags as I typically use a script hosted on my adserver to serve the ads. So I simply replaced the script with your suggestion. This approach does work for simple sites (and my s

Re: [us...@httpd] ad-supported apache proxy

2009-10-27 Thread Mike Cardwell
Marcos Mendez wrote: Thanks for the response. I tried compiling it and ran into issues. However, I am not sure that fundamentally this is the best approach. Replacing or injecting content into the proxied site content will work. I've tried modifying the body, head, html, script tags. It just hasn

Re: [us...@httpd] ad-supported apache proxy

2009-10-26 Thread Marcos Mendez
Thanks for the response. I tried compiling it and ran into issues. However, I am not sure that fundamentally this is the best approach. Replacing or injecting content into the proxied site content will work. I've tried modifying the body, head, html, script tags. It just hasn't worked reliably for

Re: [us...@httpd] ad-supported apache proxy

2009-10-26 Thread William A. Rowe, Jr.
Marcos Mendez wrote: > Does anyone have any suggestions about what is the best way to > implement an ad-supported proxy? I've got mod_substitute injecting > some content, but it only seems to work on simple websites. Should I > be looking at redirecting urls to a frame, and putting the ads there? >

[us...@httpd] ad-supported apache proxy

2009-10-26 Thread Marcos Mendez
Does anyone have any suggestions about what is the best way to implement an ad-supported proxy? I've got mod_substitute injecting some content, but it only seems to work on simple websites. Should I be looking at redirecting urls to a frame, and putting the ads there? Is there any other way of doin