mirror of https://github.com/MISP/MISP
13 lines
369 B
ApacheConf
13 lines
369 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^(.*)$ index.php?/$1 "[QSA,L,B= ]"
|
|
|
|
# Adds AUTH support to Rest Plugin:
|
|
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
|
|
</IfModule>
|
|
<IfModule mod_headers.c>
|
|
RequestHeader unset Proxy
|
|
</IfModule>
|