1 |
diff -urN smeserver-mailman-1.5.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess90mailman smeserver-mailman-1.5.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess90mailman |
2 |
--- smeserver-mailman-1.5.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess90mailman 2022-07-25 12:47:23.092460859 +0300 |
3 |
+++ smeserver-mailman-1.5.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess90mailman 2022-07-25 12:51:26.660180859 +0300 |
4 |
@@ -4,50 +4,21 @@ |
5 |
|
6 |
<Directory /usr/lib/mailman/cgi-bin> |
7 |
Options ExecCGI |
8 |
- <IfModule mod_access_compat.c> |
9 |
- AllowOverride None |
10 |
- order deny,allow |
11 |
- deny from all |
12 |
- allow from { (($mailman{access} || 'public' ) eq "public" ) ? "all": "$localAccess";} |
13 |
- </IfModule> |
14 |
- <IfModule !mod_access_compat.c> |
15 |
- Require { (($mailman{access} || 'public' ) eq "public" ) ? "all granted": "ip $localAccess";} |
16 |
- </IfModule> |
17 |
+ Require { (($mailman{access} || 'public' ) eq "public" ) ? "all granted": "ip $localAccess";} |
18 |
</Directory> |
19 |
|
20 |
<Directory /var/lib/mailman/archives/public> |
21 |
Options Indexes Includes FollowSymLinks |
22 |
- <IfModule mod_access_compat.c> |
23 |
- order deny,allow |
24 |
- deny from all |
25 |
- allow from { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all": "$localAccess";} |
26 |
- </IfModule> |
27 |
- <IfModule !mod_access_compat.c> |
28 |
- Require { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";} |
29 |
- </IfModule> |
30 |
+ Require { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";} |
31 |
</Directory> |
32 |
|
33 |
<Directory /var/lib/mailman/archives/private> |
34 |
Options Indexes Includes FollowSymLinks |
35 |
- <IfModule mod_access_compat.c> |
36 |
- order deny,allow |
37 |
- deny from all |
38 |
- allow from { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all": "$localAccess";} |
39 |
- </IfModule> |
40 |
- <IfModule !mod_access_compat.c> |
41 |
- Require { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";} |
42 |
- </IfModule> |
43 |
+ Require { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";} |
44 |
</Directory> |
45 |
|
46 |
<LocationMatch ^/mailman/(admin|admindb|rmlist|create|private)> |
47 |
- <IfModule mod_access_compat.c> |
48 |
- order deny,allow |
49 |
- deny from all |
50 |
- allow from { (($mailman{adminaccess} || 'private' ) eq "public" ) ? "all": "$localAccess";} |
51 |
- </IfModule> |
52 |
- <IfModule !mod_access_compat.c> |
53 |
- Require { (($mailman{adminaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";} |
54 |
- </IfModule> |
55 |
+ Require { (($mailman{adminaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";} |
56 |
</LocationMatch> |
57 |
|
58 |
|