Re: ad-supported apache proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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|(<body[^>]*)>|$1>HELLO WORLD|iq"

When you've got that inserting content after the body tag on every page by checking the source, then you can worry about inserting more complicated things than "HELLO WORLD"

Disclaimer: I've not used "Substitute" before. I'm assuming the above is sane considering what you originally posted.

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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux