Update apache conf

This commit is contained in:
Daniel Berteaud 2014-07-29 15:22:21 +02:00
parent 2ddb3d23b0
commit ecb2ffca61
1 changed files with 14 additions and 6 deletions

View File

@ -32,9 +32,13 @@ $alias
php_admin_value memory_limit 128M
php_admin_value session.save_path /var/lib/phplist/tmp
php_admin_value upload_tmp_dir /var/lib/phplist/tmp
<FilesMatch "\\.inc\$">
Order allow,deny
deny from all
<FilesMatch "\\.(php|inc)\$">
Order allow,deny
deny from all
</FilesMatch>
<FilesMatch "(index.php|dl.php|ut.php|lt.php|download.php|connector.php)\$">
Order allow,deny
allow from all
</FilesMatch>
Order deny,allow
deny from all
@ -44,9 +48,13 @@ $alias
# Admin section
<Directory /usr/share/phplist/www/admin>
SSLRequireSSL on
<FilesMatch "\\.inc\$">
Order allow,deny
Deny from all
<FilesMatch "\\.(php|inc)\$">
Order allow,deny
Deny from all
</FilesMatch>
<FilesMatch "(index.php|connector.php|upload.php)\$">
Order allow,deny
allow from all
</FilesMatch>
order deny,allow
deny from all