You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by pl...@mindspring.com on 2008/01/04 07:13:49 UTC

[users@httpd] Inserting HTML Code Using Apache Proxy

Hi, all...

I've googled everywhere, read the FAQs, and searched the archives, so that
led me to post...

When my intranet users go through the proxy server, I would like to insert
code that will appear at the top of each page that they request.  I've
looked at mod_rewrite, but it appears to only modify header entries.

Is there a way to do code insertion into the body of each retrieved page?
If so, can someone point me to the appropriate mod_ or doc where I can learn
more about it?

I googled everywhere, but mostly all I found was how to write your pages to
protect you from adding this type of code maliciously...  I actually want to
configure our *own* proxy server to insert the code...

Thanks!
play4god@mindspring.com



---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Inserting HTML Code Using Apache Proxy

Posted by Nick Kew <ni...@webthing.com>.
On Fri, 4 Jan 2008 01:13:49 -0500
<pl...@mindspring.com> wrote:

> Is there a way to do code insertion into the body of each retrieved
> page? If so, can someone point me to the appropriate mod_ or doc
> where I can learn more about it?

http://apache.webthing.com/mod_publisher/macro.html

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org