From 10a2796daac3422b1869f01338d017f3d5b2091f Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 20 Feb 2007 18:51:37 +0000 Subject: [PATCH] Require authentication for admin/ directory --- web/conf/apache1.3/test.conf | 8 +++++++- web/conf/apache1.3/xeno.conf | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) 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 + -- 1.7.10.4