Update apache conf

tags/smeserver-phplist-0.2.1-1
Daniel Berteaud 11 years ago
parent 2ddb3d23b0
commit ecb2ffca61
  1. 20
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist

@ -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

Loading…
Cancel
Save