/[smecontribs]/rpms/smeserver-print-monitor/contribs10/smeserver-print-monitor-0.0.7-bz12058-httpd24.patch
ViewVC logotype

Contents of /rpms/smeserver-print-monitor/contribs10/smeserver-print-monitor-0.0.7-bz12058-httpd24.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Jul 24 05:06:45 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-print-monitor-0_0_7-6_el7_sme
Changes since 1.1: +11 -2 lines
* Sun Jul 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.7-6.sme
- update to httpd 2.4 access syntax [SME: 12058]

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 01:06:28.619000000 -0400
4 @@ -29,45 +29,67 @@
5 }
6
7 $OUT .= <<HERE;
8 -# LPRng
9 +#------------------------------------------------------------
10 +# LPRng - smeserver-print-monitor contrib
11 +#------------------------------------------------------------
12 Alias /LPRng /var/www/html/LPRng
13 <Directory /var/www/html/LPRng>
14 AllowOverride None
15 Options +Indexes
16 - order deny,allow
17 - deny from all
18 - allow from all
19 AuthName "SME Server Manager"
20 AuthType Basic
21 AuthBasicProvider external
22 AuthExternal pwauth
23 - require user admin $lprusers
24 + <IfModule mod_access_compat.c>
25 + order deny,allow
26 + deny from all
27 + allow from all
28 + Require user admin $lprusers
29 + </IfModule>
30 + <IfModule !mod_access_compat.c>
31 + Require user admin $lprusers
32 + </IfModule>
33 </Directory>
34 <Directory /var/www/html/LPRng/admin>
35 AllowOverride None
36 Options +Indexes
37 - order deny,allow
38 - deny from all
39 - allow from all
40 AuthName "SME Server Manager"
41 AuthType Basic
42 AuthBasicProvider external
43 AuthExternal pwauth
44 - require user admin $lprusers
45 + <IfModule mod_access_compat.c>
46 + order deny,allow
47 + deny from all
48 + allow from all
49 + Require user admin $lprusers
50 + </IfModule>
51 + <IfModule !mod_access_compat.c>
52 + Require user admin $lprusers
53 + </IfModule>
54 </Directory>
55 <Directory /var/www/html/LPRng/cgi-bin>
56 Options ExecCGI
57 AllowOverride None
58 - order deny,allow
59 - deny from all
60 - allow from all
61 + <IfModule mod_access_compat.c>
62 + order deny,allow
63 + deny from all
64 + allow from all
65 + </IfModule>
66 + <IfModule !mod_access_compat.c>
67 + Require all granted
68 + </IfModule>
69 </Directory>
70 <Directory /var/www/html/LPRng/admin/cgi-bin>
71 Options ExecCGI FollowSymLinks
72 AllowOverride None
73 - order deny,allow
74 - deny from all
75 - allow from all
76 + <IfModule mod_access_compat.c>
77 + order deny,allow
78 + deny from all
79 + allow from all
80 + </IfModule>
81 + <IfModule !mod_access_compat.c>
82 + Require all granted
83 + </IfModule>
84 </Directory>
85 # LPRng end
86 HERE

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed