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't worked reliably for me... for example with google.com or
yahoo.com. I was wondering if doing an internal redirect, framing the
url (so that it renders as normal) and placing my ads outside would be
better.

How are you inserting the ads? I would probably approach this by inserting the ad immediately after the body tag and setting the position to absolute, with a high z-index so it's at the front. I would also add a small icon to close the advert in case it causes a problem by hovering over the top of important content.

Something like this perhaps (untested)

<body>
<div id="my_advert_box" style="position:absolute;top:0;right:0;z-index:1000"> <a href="#" onclick="document.getElementById('my_advert_box').style.display='none';">[X]</a>
      Advert content
   </div>

--
Mike Cardwell - IT Consultant and LAMP developer
Cardwell IT Ltd. (UK Reg'd Company #06920226) http://cardwellit.com/
Technical Blog: https://secure.grepular.com/blog/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to