mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
13 lines
380 B
ApacheConf
13 lines
380 B
ApacheConf
# Uncomment the following to prevent the httpoxy vulnerability
|
|
# See: https://httpoxy.org/
|
|
#<IfModule mod_headers.c>
|
|
# RequestHeader unset Proxy
|
|
#</IfModule>
|
|
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^ index.php [L]
|
|
</IfModule>
|