2016-01-15 15:06:48 +01:00
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerAdmin me@me.local
|
|
|
|
ServerName misp.local
|
|
|
|
DocumentRoot /var/www/MISP/app/webroot
|
|
|
|
<Directory /var/www/MISP/app/webroot>
|
|
|
|
Options -Indexes
|
|
|
|
AllowOverride all
|
|
|
|
Order allow,deny
|
|
|
|
allow from all
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
<IfModule !mod_php5.c>
|
2016-05-24 14:11:50 +02:00
|
|
|
SetEnvIfNoCase Authorization "(.*)" HTTP_AUTHORIZATION=$1
|
2016-01-15 15:06:48 +01:00
|
|
|
DirectoryIndex /index.php index.php
|
|
|
|
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/MISP/app/webroot/$1
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
LogLevel warn
|
|
|
|
ErrorLog /var/log/httpd/misp.local_error.log
|
|
|
|
CustomLog /var/log/httpd/misp.local_access.log combined
|
|
|
|
ServerSignature Off
|
|
|
|
</VirtualHost>
|