ajout regex pour if

This commit is contained in:
pdiogoantunes 2018-02-22 16:25:14 +01:00
parent d22d32a929
commit 644f0cdafc

View file

@ -555,6 +555,9 @@ Pour supprimer un Query String avec une Rewrite Rule : <https://www.philipphoffm
<If "%{HTTP_HOST} == 'test.example.com'">
SetEnv APP_ENV "test"
</If>
<If "%{HTTP_QUERY} =~ /wp-admin*/">
...
</If>
~~~
Expressions possibles : [https://httpd.apache.org/docs/2.4/expr.html](https://httpd.apache.org/docs/2.4/expr.html)