From: Mike Taylor Date: Tue, 20 Feb 2007 18:51:37 +0000 (+0000) Subject: Require authentication for admin/ directory X-Git-Tag: CPAN-v1.02~619 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=de9ebe9640087d5923a2c7e5c0ca44e6031c7d74;p=irspy-moved-to-github.git Require authentication for admin/ directory --- diff --git a/web/conf/apache1.3/test.conf b/web/conf/apache1.3/test.conf index bd4a2d8..255bd3e 100644 --- a/web/conf/apache1.3/test.conf +++ b/web/conf/apache1.3/test.conf @@ -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. # @@ -28,4 +28,10 @@ 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 + + AuthType Basic + AuthName "IRSpy Administration" + AuthUserFile /usr/local/src/cvs/irspy/web/conf/htpasswd + Require user admin + diff --git a/web/conf/apache1.3/xeno.conf b/web/conf/apache1.3/xeno.conf index 807d352..f2d6ce0 100644 --- a/web/conf/apache1.3/xeno.conf +++ b/web/conf/apache1.3/xeno.conf @@ -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. # @@ -31,4 +31,10 @@ PerlInitHandler Apache::Reload PerlSetVar ReloadAll Off PerlSetVar ReloadModules "ZOOM::IRSpy::Utils" + + AuthType Basic + AuthName "IRSpy Administration" + AuthUserFile /usr/local/src/cvs/irspy/web/conf/htpasswd + Require user admin +