Advertisement
Guest User

silverstripe http prod rules

a guest
Jul 29th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. RewriteCond %{QUERY_STRING} ^(.*&)?showqueries(=|$) [NC,OR]
  2. RewriteCond %{QUERY_STRING} ^(.*&)?debug(=|$) [NC,OR]
  3. RewriteCond %{QUERY_STRING} ^(.*&)?flush(=|$) [NC,OR]
  4. RewriteCond %{QUERY_STRING} ^(.*&)?profile_trace(=|$) [NC,OR]
  5. RewriteCond %{QUERY_STRING} ^(.*&)?debug_profile(=|$) [NC,OR]
  6. RewriteCond %{QUERY_STRING} ^(.*&)?isDev(=|$) [NC,OR]
  7. RewriteCond %{QUERY_STRING} ^(.*&)?debugmethods(=|$) [NC,OR]
  8. RewriteCond %{QUERY_STRING} ^(.*&)?debug_requests(=|$) [NC,OR]
  9. RewriteCond %{QUERY_STRING} ^(.*&)?debugfailover(=|$) [NC,OR]
  10. RewriteCond %{QUERY_STRING} ^(.*&)?previewwrite(=|$) [NC,OR]
  11. RewriteCond %{QUERY_STRING} ^(.*&)?stage(=|$) [NC]
  12. RewriteRule (.*) http://%{HTTP_HOST}$1? [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement