Update apache conf

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

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

Loading…
Cancel
Save