httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bob gailer <bgai...@gmail.com>
Subject Re: [users@httpd] Mod_Substitute - Match the last occurrence of a string in the response
Date Tue, 22 Nov 2016 17:51:59 GMT
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message