Remove Apache::Reload stuff.
[irspy-moved-to-github.git] / web / conf / apache1.3 / xeno.conf
index 807d352..7391a84 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.9 2008-08-29 18:58:13 mike Exp $
 #
 # Sample configuration for running an IRSpy web-site under Apache 1.3.
 #
@@ -15,7 +15,9 @@
 # install libapache-request-perl as well as libhtml-mason-perl,
 # otherwise Mason will fail mysteriously.
 
-<VirtualHost localhost>
+NameVirtualHost 192.168.1.75
+
+<VirtualHost 192.168.1.75>
     ServerName x.irspy.indexdata.com
     ErrorLog     /var/log/apache/irspy-error.log
     CustomLog    /var/log/apache/irspy-access.log combined
     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
-    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>