X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=web%2Fconf%2Fapache2.0%2Firspy.conf;h=d7bc9733be9c15241286496798f195a5c324c1b7;hb=49a95c5bf3bc1413ace96619f31c0d913284f7c9;hp=10d46222aa5179f7311e4836481b902b82d47070;hpb=f40821dd4d35fd9fa09de0e9965e491525724167;p=irspy-moved-to-github.git diff --git a/web/conf/apache2.0/irspy.conf b/web/conf/apache2.0/irspy.conf index 10d4622..d7bc973 100644 --- a/web/conf/apache2.0/irspy.conf +++ b/web/conf/apache2.0/irspy.conf @@ -2,30 +2,23 @@ # # Sample configuration for running an IRSpy web-site under Apache 2.x. # -# This is the configuration that I use on the development machine us2 -# /home/wosch/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 /home/wosch/indexdata/irspy/web/conf/apache2.0/cfspy.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 cfspy.indexdata.com + ServerName irspy.indexdata.com + ServerAlias irspy2.indexdata.com irspy - ErrorLog /var/log/apache2/cfspy-error.log - CustomLog /var/log/apache2/cfspy-access.log combined - DocumentRoot /home/wosch/indexdata/irspy/web/htdocs + ErrorLog /var/log/apache2/irspy-error.log + CustomLog /var/log/apache2/irspy-access.log combined + DocumentRoot /usr/local/src/git/irspy/web/htdocs SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler @@ -33,19 +26,19 @@ PerlSetVar MasonArgsMethod mod_perl - PerlAddVar MasonCompRoot "private => /home/wosch/indexdata/irspy/web/htdocs" - PerlSetVar MasonDataDir /home/wosch/indexdata/irspy/web/data - PerlSetVar IRSpyLibDir /home/wosch/indexdata/irspy/lib - PerlSetEnv PERL5LIB /home/wosch/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 # We need +Parent to make PerlSwitches -I work properly ... don't ask. PerlOptions +Parent - PerlSwitches -I/home/wosch/indexdata/irspy/lib + PerlSwitches -I/usr/local/src/git/irspy/lib AuthType Basic AuthName "IRSpy Administration" - AuthUserFile /home/wosch/indexdata/irspy/web/conf/htpasswd + AuthUserFile /usr/local/src/git/irspy/web/conf/htpasswd Require user admin