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