5_prodige_4.1.conf 828 Bytes
Newer Older
Sebastien QUESSON's avatar
Sebastien QUESSON committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"" custom
CustomLog /var/log/apache2/www#DOMAIN#.log custom

<Directory />
   Require all denied
   Options None
   AllowOverride None
</Directory>

<Directory "/usr/lib/cgi-bin">
   Require all granted
   SetHandler fcgid-script
</Directory>

<Directory /home/sites>
   Require all granted
   Options FollowSymLinks
   RewriteEngine On
   AllowOverride All
   php_admin_value open_basedir "/home/:/var/lib/php:/tmp:/dev/urandom:/usr/share/proj"
   php_admin_value magic_quotes_gpc off
   php_admin_value date.timezone Europe/Paris
   Header always set Strict-Transport-Security "max-age=15768000"
</Directory>

<Directory /home/prodige>
   Require all granted
   Options FollowSymLinks
   php_admin_value open_basedir "/home/:/var/lib/php:/tmp"
</Directory>