Re: Mod_Substitute - Match the last occurrence of a string in the response
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: Mod_Substitute - Match the last occurrence of a string in the response
- From: bob gailer <bgailer@xxxxxxxxx>
- Date: Tue, 22 Nov 2016 12:51:59 -0500
- In-reply-to: <CAOLbyf1Ce9XzzVX6MVGEhF1asEGByvwu4RUQQPbQ2WbWWm9MRg@mail.gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
On 11/22/2016 11:50 AM, Mayuresh wrote:
Hi,
How can I check for the last occurrence of a string in the response
html and only replace the last occurrence of it?
I want to search for the last "meta" tag in the response and replace
it with something.
Sorry - I just noticed Mod_Substitute in your subject
Check
https://serverpilot.io/community/articles/how-to-use-apache-to-replace-strings-in-responses.html
It points to http://httpd.apache.org/docs/2.4/mod/mod_substitute.html.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-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]