ajout regex pour if
This commit is contained in:
parent
d22d32a929
commit
644f0cdafc
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue