X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=web%2Fconf%2Fapache2.0%2Firspy.conf;h=db43e05afe74a526a62133351860606ac57c67b6;hp=d7b24bb40d973926b6b691b5cfb86f48ef0776fb;hb=6f2183a513dde47602e2ad39c5002d92619b2a30;hpb=754e3bb64a3b02e48a438be1437c40dfc26f2895 diff --git a/web/conf/apache2.0/irspy.conf b/web/conf/apache2.0/irspy.conf index d7b24bb..db43e05 100644 --- a/web/conf/apache2.0/irspy.conf +++ b/web/conf/apache2.0/irspy.conf @@ -3,11 +3,11 @@ # Sample configuration for running an IRSpy web-site under Apache 2.x. # # This is the configuration that I use on the development machine -# /usr/local/src/git/indexdata/irspy +# /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 # # For debian & unbuntu: please read irspy/README for a list of depending packages # @@ -18,7 +18,7 @@ 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 @@ -26,20 +26,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:3000/ + ProxyPassReverse /toroid/ http://localhost:3000/