1 |
jpp |
1.1 |
diff -Nur --no-dereference smeserver-print-monitor-0.0.7.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40LPRng smeserver-print-monitor-0.0.7/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40LPRng |
2 |
|
|
--- smeserver-print-monitor-0.0.7.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40LPRng 2022-07-24 00:51:13.644000000 -0400 |
3 |
|
|
+++ smeserver-print-monitor-0.0.7/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40LPRng 2022-07-24 00:56:00.736000000 -0400 |
4 |
|
|
@@ -34,40 +34,59 @@ |
5 |
|
|
<Directory /var/www/html/LPRng> |
6 |
|
|
AllowOverride None |
7 |
|
|
Options +Indexes |
8 |
|
|
- order deny,allow |
9 |
|
|
- deny from all |
10 |
|
|
- allow from all |
11 |
|
|
AuthName "SME Server Manager" |
12 |
|
|
AuthType Basic |
13 |
|
|
AuthBasicProvider external |
14 |
|
|
AuthExternal pwauth |
15 |
|
|
- require user admin $lprusers |
16 |
|
|
+ <IfModule mod_access_compat.c> |
17 |
|
|
+ order deny,allow |
18 |
|
|
+ deny from all |
19 |
|
|
+ allow from all |
20 |
|
|
+ Require user admin $lprusers |
21 |
|
|
+ </IfModule> |
22 |
|
|
+ <IfModule !mod_access_compat.c> |
23 |
|
|
+ Require user admin $lprusers |
24 |
|
|
+ </IfModule> |
25 |
|
|
</Directory> |
26 |
|
|
<Directory /var/www/html/LPRng/admin> |
27 |
|
|
AllowOverride None |
28 |
|
|
Options +Indexes |
29 |
|
|
- order deny,allow |
30 |
|
|
- deny from all |
31 |
|
|
- allow from all |
32 |
|
|
AuthName "SME Server Manager" |
33 |
|
|
AuthType Basic |
34 |
|
|
AuthBasicProvider external |
35 |
|
|
AuthExternal pwauth |
36 |
|
|
- require user admin $lprusers |
37 |
|
|
+ <IfModule mod_access_compat.c> |
38 |
|
|
+ order deny,allow |
39 |
|
|
+ deny from all |
40 |
|
|
+ allow from all |
41 |
|
|
+ Require user admin $lprusers |
42 |
|
|
+ <IfModule !mod_access_compat.c> |
43 |
|
|
+ Require user admin $lprusers |
44 |
|
|
+ </IfModule> |
45 |
|
|
</Directory> |
46 |
|
|
<Directory /var/www/html/LPRng/cgi-bin> |
47 |
|
|
Options ExecCGI |
48 |
|
|
AllowOverride None |
49 |
|
|
- order deny,allow |
50 |
|
|
- deny from all |
51 |
|
|
- allow from all |
52 |
|
|
+ <IfModule mod_access_compat.c> |
53 |
|
|
+ order deny,allow |
54 |
|
|
+ deny from all |
55 |
|
|
+ allow from all |
56 |
|
|
+ </IfModule> |
57 |
|
|
+ <IfModule !mod_access_compat.c> |
58 |
|
|
+ Require all granted |
59 |
|
|
+ </IfModule> |
60 |
|
|
</Directory> |
61 |
|
|
<Directory /var/www/html/LPRng/admin/cgi-bin> |
62 |
|
|
Options ExecCGI FollowSymLinks |
63 |
|
|
AllowOverride None |
64 |
|
|
- order deny,allow |
65 |
|
|
- deny from all |
66 |
|
|
- allow from all |
67 |
|
|
+ <IfModule mod_access_compat.c> |
68 |
|
|
+ order deny,allow |
69 |
|
|
+ deny from all |
70 |
|
|
+ allow from all |
71 |
|
|
+ </IfModule> |
72 |
|
|
+ <IfModule !mod_access_compat.c> |
73 |
|
|
+ Require all granted |
74 |
|
|
+ </IfModule> |
75 |
|
|
</Directory> |
76 |
|
|
# LPRng end |
77 |
|
|
HERE |