[users@httpd] How to rewrite background tag using proxy_html module

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

 



Hi,

I am using proxy_html module to rewrite the my html page url

html source
<td background ="images/topbg.gif" width="34%"><img src="images/topband2.jpg" height="103" width= "318"></td>

I configured rules below
PoxyHTMLURLMap ^images/(.*)$ http://127.0.0.1/agent/images/$1 RXi
ProxyHTMLURLMap (.*) http://127.0.0.1/agent/$1 RXi

Rewritten html source
<td background="images/topbg.gif" width="34%"><img src="http://127.0.0.1/agent/images/topband2.jpg" height ="103" width="318"></td>

I want to rewrite the background="images/topbg.gif tag to http://127.0.0.1/agent/images/topbg.gif.

Please suggest your solution.

Thanks,
bsenthil.


[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