[users@httpd] Rewrite attributes in document...

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

 



OK, I googled, yahooed and read enough documentation to try and solve this
problem on my own.  

I am at a loss and I hope one of you can help me.

I need to know if there is a way the httpd server can parse every returned
html/xml page and replace every instance of a pattern on said page.

For example, if a page contains the following tag:
<img src="http://myhost.mydomain.com:1999/dire/myimage.jpg";>

Replace every instance of that tag with:
<img src="/dire/myimage.jpg">

Mod_rewrite and others helped with the actual URL in the address but not
with the contents of the html/xml page.

Anyone have a suggestion?

Daniel Maldonado
Programmer Analyst

---------------------------------------------------------------------
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