X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=web%2Fconf%2Fapache2.0%2Firspy.conf;h=6d7573f7a1a52033feaa744d491c49cde8ec513c;hb=5e584b90a4a4909854991ae14277f0642dd82b2e;hp=5e872066c352054db6d4deb9fda696653e00da81;hpb=688a2f2f8d457bf5fca2a2dd87266a15b9bcd9a4;p=irspy-moved-to-github.git diff --git a/web/conf/apache2.0/irspy.conf b/web/conf/apache2.0/irspy.conf index 5e87206..6d7573f 100644 --- a/web/conf/apache2.0/irspy.conf +++ b/web/conf/apache2.0/irspy.conf @@ -1,32 +1,22 @@ -# $Id: cfspy.conf,v 1.4 2009-04-16 18:31:20 wosch Exp $ -# # Sample configuration for running an IRSpy web-site under Apache 2.x. # -# This is the configuration that I use on the development machine us2 -# /usr/local/src/git/indexdata/irspy +# This is the configuration that I use on the development machine +# /usr/local/src/git/irspy # # This file can be included in the Apache configuration by adding a # line like this to apache.conf or one of its included files: -# Include /usr/local/src/git/indexdata/irspy/web/conf/apache2.0/irspy.conf +# Include /usr/local/src/git/irspy/web/conf/apache2.0/irspy.conf # -# When running on Ubuntu (and probably Debian), don't forget to -# install libapache-request-perl as well as libhtml-mason-perl, -# otherwise Mason will fail mysteriously. +# For debian & unbuntu: please read irspy/README for a list of depending packages # -# For Apache 2.x -# sudo apt-get install libxml-libxslt-perl -# sudo apt-get install libhtml-mason-perl -# sudo apt-get install libapache2-request-perl - -#NameVirtualHost 192.168.1.75 ServerName irspy.indexdata.com - ServerAlias irspy2.indexdata.com irspy + #ServerAlias irspy2.indexdata.com irspy ErrorLog /var/log/apache2/irspy-error.log CustomLog /var/log/apache2/irspy-access.log combined - DocumentRoot /usr/local/src/git/indexdata/irspy/web/htdocs + DocumentRoot /usr/local/src/git/irspy/web/htdocs SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler @@ -34,20 +24,30 @@ PerlSetVar MasonArgsMethod mod_perl - PerlAddVar MasonCompRoot "private => /usr/local/src/git/indexdata/irspy/web/htdocs" - PerlSetVar MasonDataDir /usr/local/src/git/indexdata/irspy/web/data - PerlSetVar IRSpyLibDir /usr/local/src/git/indexdata/irspy/lib - PerlSetEnv PERL5LIB /usr/local/src/git/indexdata/irspy/lib + PerlAddVar MasonCompRoot "private => /usr/local/src/git/irspy/web/htdocs" + PerlSetVar MasonDataDir /usr/local/src/git/irspy/web/data + PerlSetVar IRSpyLibDir /usr/local/src/git/irspy/lib + PerlSetEnv PERL5LIB /usr/local/src/git/irspy/lib + + #PerlSetEnv IRSpyDbName localhost:8018/IR-Explain---1 # We need +Parent to make PerlSwitches -I work properly ... don't ask. PerlOptions +Parent - PerlSwitches -I/usr/local/src/git/indexdata/irspy/lib + PerlSwitches -I/usr/local/src/git/irspy/lib AuthType Basic AuthName "IRSpy Administration" - AuthUserFile /usr/local/src/git/indexdata/irspy/web/conf/htpasswd + AuthUserFile /usr/local/src/git/irspy/web/conf/htpasswd Require user admin + + ProxyRequests off + + Order deny,allow + Allow from all + + ProxyPass /toroid/ http://localhost:12367/ + ProxyPassReverse /toroid/ http://localhost:12367/