SOURCES: postfixadmin.conf - removed overlapping aliases, - added ...

gotar gotar at pld-linux.org
Sat Nov 17 15:32:35 CET 2007


Author: gotar                        Date: Sat Nov 17 14:32:35 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- removed overlapping aliases,
- added open_basedir restriction,
- added default restrictions to admin section (there should be no access by
  default)

---- Files affected:
SOURCES:
   postfixadmin.conf (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/postfixadmin.conf
diff -u SOURCES/postfixadmin.conf:1.2 SOURCES/postfixadmin.conf:1.3
--- SOURCES/postfixadmin.conf:1.2	Sun Jan  7 00:25:19 2007
+++ SOURCES/postfixadmin.conf	Sat Nov 17 15:32:29 2007
@@ -1,10 +1,18 @@
 Alias		/postfixadmin	/usr/share/postfixadmin
-Alias		/postfixadmin/users	/usr/share/postfixadmin/users
-Alias		/postfixadmin/admin	/usr/share/postfixadmin/admin
 
 <Directory /usr/share/postfixadmin>
 	AllowOverride None
 	Order allow,deny
 	Allow from all
+	php_admin_value open_basedir "/etc/webapps/postfixadmin/:/usr/share/postfixadmin/"
 </Directory>
+<Directory /usr/share/postfixadmin/admin>
+	AuthUserFile /etc/webapps/htpasswd
+	AuthGroupFile /dev/null
+	AuthName "Postfix Admin"
+	AuthType Basic
 
+	<limit GET POST>
+		require valid-user
+	</limit>
+</Directory>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/postfixadmin.conf?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list