diff options
Diffstat (limited to 'mail/mimp/files/mimp.conf.dist')
-rw-r--r-- | mail/mimp/files/mimp.conf.dist | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/mimp/files/mimp.conf.dist b/mail/mimp/files/mimp.conf.dist new file mode 100644 index 00000000000..04acdf39b57 --- /dev/null +++ b/mail/mimp/files/mimp.conf.dist @@ -0,0 +1,43 @@ +# $NetBSD: mimp.conf.dist,v 1.1.1.1 2013/01/27 16:35:06 bouyer Exp $ +# +# MIMP configuration file fragment for Apache + +<IfModule mod_alias.c> + Alias /mimp/ "@MIMPDIR@/" +</IfModule> + +<Directory "@MIMPDIR@"> + DirectoryIndex index.php + <IfModule mod_php4.c> + php_flag file_uploads On + php_flag upload_max_filesize 5M + </IfModule> +</Directory> + +# For security, don't serve pages from the MIMP configuration and library +# directories. +# +<Directory "@MIMPDIR@/config"> + Order deny,allow + Deny from all +</Directory> +<Directory "@MIMPDIR@/lib"> + Order deny,allow + Deny from all +</Directory> +<Directory "@MIMPDIR@/locale"> + Order deny,allow + Deny from all +</Directory> +<Directory "@MIMPDIR@/po"> + Order deny,allow + Deny from all +</Directory> +<Directory "@MIMPDIR@/scripts"> + Order deny,allow + Deny from all +</Directory> +<Directory "@MIMPDIR@/templates"> + Order deny,allow + Deny from all +</Directory> |