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

Diff 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 | View Patch Patch

Revision 1.1 by jpp, Sun Jul 24 04:59:08 2022 UTC Revision 1.3 by jpp, Mon Aug 1 03:59:10 2022 UTC
# Line 1  Line 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  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  --- 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  +++ 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  @@ -34,40 +34,59 @@  @@ -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>   <Directory /var/www/html/LPRng>
14       AllowOverride None       AllowOverride None
15       Options +Indexes       Options +Indexes
# Line 39  diff -Nur --no-dereference smeserver-pri Line 47  diff -Nur --no-dereference smeserver-pri
47  +     deny from all  +     deny from all
48  +     allow from all  +     allow from all
49  +     Require user admin $lprusers  +     Require user admin $lprusers
50    +    </IfModule>
51  +    <IfModule !mod_access_compat.c>  +    <IfModule !mod_access_compat.c>
52  +     Require user admin $lprusers  +     Require user admin $lprusers
53  +    </IfModule>  +    </IfModule>
# Line 75  diff -Nur --no-dereference smeserver-pri Line 84  diff -Nur --no-dereference smeserver-pri
84   </Directory>   </Directory>
85   #  LPRng end   #  LPRng end
86   HERE   HERE
87    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
88    --- smeserver-print-monitor-0.0.7.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40LPRng       2022-07-31 23:51:26.851000000 -0400
89    +++ smeserver-print-monitor-0.0.7/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40LPRng   2022-07-31 23:57:03.652000000 -0400
90    @@ -40,15 +40,7 @@
91         AuthType Basic
92         AuthBasicProvider external
93         AuthExternal pwauth
94    -    <IfModule mod_access_compat.c>
95    -     order deny,allow
96    -     deny from all
97    -     allow from all
98    -     Require user admin $lprusers
99    -    </IfModule>
100    -    <IfModule !mod_access_compat.c>
101    -      Require user admin $lprusers
102    -    </IfModule>
103    +    Require user admin $lprusers
104     </Directory>
105     <Directory /var/www/html/LPRng/admin>
106         AllowOverride None
107    @@ -57,39 +49,17 @@
108         AuthType Basic
109         AuthBasicProvider external
110         AuthExternal pwauth
111    -    <IfModule mod_access_compat.c>    
112    -     order deny,allow
113    -     deny from all
114    -     allow from all
115    -     Require user admin $lprusers
116    -    </IfModule>
117    -    <IfModule !mod_access_compat.c>
118    -     Require user admin $lprusers
119    -    </IfModule>
120    +    Require user admin $lprusers
121     </Directory>
122     <Directory /var/www/html/LPRng/cgi-bin>
123         Options ExecCGI
124         AllowOverride None
125    -    <IfModule mod_access_compat.c>
126    -     order deny,allow
127    -     deny from all
128    -     allow from all
129    -    </IfModule>
130    -    <IfModule !mod_access_compat.c>
131    -      Require all granted
132    -    </IfModule>
133    +    Require all granted
134     </Directory>
135     <Directory /var/www/html/LPRng/admin/cgi-bin>
136         Options ExecCGI FollowSymLinks
137         AllowOverride None
138    -    <IfModule mod_access_compat.c>
139    -     order deny,allow
140    -     deny from all
141    -     allow from all
142    -    </IfModule>
143    -    <IfModule !mod_access_compat.c>
144    -      Require all granted
145    -    </IfModule>
146    +    Require all granted
147     </Directory>
148     #  LPRng end
149     HERE


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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