Commit bd276e6e authored by Chris's avatar Chris

Use QUERY_STRING not REQUEST_URI

As per http://httpd.apache.org/docs/current/mod/mod_rewrite.html

>REQUEST_URI
>This notably excludes the query string which is available as its own variable named QUERY_STRING.
parent 1e34dcfb
Pipeline #5273689 (#) passed with stages
in 13 minutes and 35 seconds
......@@ -78,8 +78,8 @@ For Apache with mod_rewrite:
```apache
RewriteEngine On
RewriteCond %{REQUEST_URI} ^.*(state=destroy).* [NC,OR]
RewriteCond %{REQUEST_URI} ^.*(state=delete).* [NC]
RewriteCond %{QUERY_STRING} ^.*(state=destroy).* [NC,OR]
RewriteCond %{QUERY_STRING} ^.*(state=delete).* [NC]
RewriteRule ^(.*)$ - [F,L]
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment