I've just added a web application firewall to a website and it sets up a number of rules in .htaccess. At least once a month, I have to take a copy of the website on to my development server where it has a different URL (xxx.local instead of xxx.co.uk)
A number of the rules in the .htaccess file forbid access unless coming from the original URL.
Would it be possible to put something into Angie at the substitution phase to replace stuff in the .htaccess file - specifically strings which look loke
xxx.co.uk -> xxx.local
xxx\.co\.uk -> xxx\.local
xxx\.co.uk -> xxx\.local
Thanks