Author: glen                         Date: Sat Jul 16 12:57:53 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- check for mod_auth in apache config

---- Files affected:
SPECS:
   anyterm.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/anyterm.spec
diff -u SPECS/anyterm.spec:1.7 SPECS/anyterm.spec:1.8
--- SPECS/anyterm.spec:1.7      Sat Jul 16 14:15:25 2005
+++ SPECS/anyterm.spec  Sat Jul 16 14:57:47 2005
@@ -3,7 +3,7 @@
 Summary:       Terminal emulator in a web browser
 Name:          anyterm
 Version:       1.1.4
-Release:       0.8
+Release:       0.9
 Epoch:         0
 License:       GPL
 Group:         Networking/Daemons
@@ -55,19 +55,23 @@
                SetHandler anyterm
        </Files>
 
-#      <Location /%{name}>
-#              allow from all
-#      </Location>
-
-    <Location /%{name}>
-        AuthType Basic
-        AuthUserFile /etc/httpd/user
-        AuthGroupFile /etc/httpd/group
-        AuthName "AnyTerm"
-        require group anyterm
-        satisfy any
-        order allow,deny
-    </Location>
+       <IfModule !mod_auth.c>
+               <Location /%{name}>
+                       allow from all
+               </Location>
+       </IfModule>
+
+       <IfModule mod_auth.c>
+               <Location /%{name}>
+                       AuthType Basic
+                       AuthUserFile /etc/httpd/user
+                       AuthGroupFile /etc/httpd/group
+                       AuthName "AnyTerm"
+                       require group anyterm
+                       satisfy any
+                       order allow,deny
+               </Location>
+       </IfModule>
 </IfModule>
 # vim: filetype=apache ts=4 sw=4 et
 END
@@ -106,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/07/16 12:57:47  glen
+- check for mod_auth in apache config
+
 Revision 1.7  2005/07/16 12:15:25  glen
 - revert last anygetty banner change: the permissions are reverted with each 
upgrade
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/anyterm.spec?r1=1.7&r2=1.8&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to