]> git.pld-linux.org Git - packages/anyterm.git/commitdiff
- check for mod_auth in apache config
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 16 Jul 2005 12:57:47 +0000 (12:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    anyterm.spec -> 1.8

anyterm.spec

index b4f482aef5ffd43cb53eac89de39087da5db7727..d0c1a19894a4307ba9ae93d8b2d0f6ae03bf5a38 100644 (file)
@@ -2,7 +2,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
@@ -54,19 +54,23 @@ LoadModule anyterm modules/%{name}.so
                SetHandler anyterm
        </Files>
 
-#      <Location /%{name}>
-#              allow from all
-#      </Location>
+       <IfModule !mod_auth.c>
+               <Location /%{name}>
+                       allow from all
+               </Location>
+       </IfModule>
 
-    <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}>
+                       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
This page took 0.06353 seconds and 4 git commands to generate.