Skip to content

Recipes

tkb-github edited this page May 3, 2023 · 29 revisions

Disable mod_rewrite

Having ported the firewall to mod_setenvif, it is possible to also dispense with any remaining rewrite rules. Follow these steps:

  1. Using mod_rewrite for permalink settings is a relic from httpd 2.2. The same effect can now be achieved with
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
FallbackResource /index.php
  1. Rules for access control can switch to using mod_setenvif or Cloudflare.
Clone this wiki locally