Require authentication for admin/ directory
authorMike Taylor <mike@indexdata.com>
Tue, 20 Feb 2007 18:51:37 +0000 (18:51 +0000)
committerMike Taylor <mike@indexdata.com>
Tue, 20 Feb 2007 18:51:37 +0000 (18:51 +0000)
web/conf/apache1.3/test.conf
web/conf/apache1.3/xeno.conf

index bd4a2d8..255bd3e 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: test.conf,v 1.4 2007-01-18 12:12:12 mike Exp $
+# $Id: test.conf,v 1.5 2007-02-20 18:51:37 mike Exp $
 #
 # Sample configuration for running an IRSpy web-site under Apache 1.3.
 #
     PerlSetVar MasonDataDir              /usr/local/src/cvs/irspy/web/data
     PerlSetVar IRSpyLibDir               /usr/local/src/cvs/irspy/lib
     PerlSetEnv PERL5LIB /usr/local/src/cvs/irspy/lib
+    <Location /admin>
+       AuthType Basic
+       AuthName "IRSpy Administration"
+       AuthUserFile /usr/local/src/cvs/irspy/web/conf/htpasswd
+       Require user admin
+    </Location>
 </VirtualHost>
index 807d352..f2d6ce0 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: xeno.conf,v 1.6 2007-01-18 12:12:12 mike Exp $
+# $Id: xeno.conf,v 1.7 2007-02-20 18:51:37 mike Exp $
 #
 # Sample configuration for running an IRSpy web-site under Apache 1.3.
 #
     PerlInitHandler Apache::Reload
     PerlSetVar ReloadAll Off
     PerlSetVar ReloadModules "ZOOM::IRSpy::Utils"
+    <Location /admin>
+       AuthType Basic
+       AuthName "IRSpy Administration"
+       AuthUserFile /usr/local/src/cvs/irspy/web/conf/htpasswd
+       Require user admin
+    </Location>
 </VirtualHost>