Dear Nick, I have tried with mod_proxy_html, but the problem with this specific web application is (NAC Management called ARPGUARD), that several javascripts and json files needs also some replacements because they have hard-coded parts of URLs included. I didn't find a way to handle this with mod_proxy_html. So I tried with mod_filter including mod_substitute. For getting updates etc. better handled I prefer using packages from the official CentOS or EPEL repositories rather than compiling them on my own. Regarding the mod_substitute docs I found the following: f The f flag causes mod_substitute to flatten the result of a substitution allowing for later substitutions to take place on the boundary of this one. This is the default. For me this sounds that also the following occurrences of a pattern will be replaced. Kind regards Uwe Uwe -----Original Message----- From: Nick Kew [mailto:niq@xxxxxxxxxx] Sent: Monday, February 13, 2017 6:32 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: FW: mod_substitute only replaces first pattern match On Mon, 2017-02-13 at 12:08 +0000, Uwe.Poliak@xxxxxxxxx wrote: > Hi all, > > nobody having an idea about my post from Feb 6th? What you describe sounds unlikely, but I haven't checked the mod_substitute docs. I would just point out, there are many alternatives (like mod_line_edit or mod_sed), and the problem you're trying to solve looks like exactly the one for which mod_proxy_html is the smart (markup-aware) solution. -- Nick Kew --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx