move everything under /home/indexdata
authorWolfram Schneider <wosch@indexdata.dk>
Tue, 13 Aug 2013 15:16:12 +0000 (15:16 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Tue, 13 Aug 2013 15:16:12 +0000 (15:16 +0000)
(was  /usr/local/src/git/irspy )

web/conf/apache2.0/irspy.conf

index 6d7573f..67161cc 100644 (file)
@@ -1,22 +1,23 @@
 # Sample configuration for running an IRSpy web-site under Apache 2.x.
 #
 # This is the configuration that I use on the development machine 
 # 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/irspy
+#
+#      /home/indexdata/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:
 #
 # 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/irspy/web/conf/apache2.0/irspy.conf
+#      Include /home/indexdata/irspy/web/conf/apache2.0/irspy.conf
 #
 # For debian & unbuntu: please read irspy/README for a list of depending packages
 #
 
 <VirtualHost *:80>
     ServerName irspy.indexdata.com
 #
 # For debian & unbuntu: please read irspy/README for a list of depending packages
 #
 
 <VirtualHost *:80>
     ServerName irspy.indexdata.com
-    #ServerAlias irspy2.indexdata.com irspy
+    ServerAlias irspy2.indexdata.com irspy irspy-dev.indexdata.com
 
     ErrorLog     /var/log/apache2/irspy-error.log
     CustomLog    /var/log/apache2/irspy-access.log combined
 
     ErrorLog     /var/log/apache2/irspy-error.log
     CustomLog    /var/log/apache2/irspy-access.log combined
-    DocumentRoot /usr/local/src/git/irspy/web/htdocs
+    DocumentRoot /home/indexdata/irspy/web/htdocs
     <FilesMatch "\.(html|css)$">
      SetHandler perl-script
      PerlHandler HTML::Mason::ApacheHandler
     <FilesMatch "\.(html|css)$">
      SetHandler perl-script
      PerlHandler HTML::Mason::ApacheHandler
 
     PerlSetVar MasonArgsMethod mod_perl
 
 
     PerlSetVar MasonArgsMethod mod_perl
 
-    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
+    PerlAddVar MasonCompRoot "private => /home/indexdata/irspy/web/htdocs"
+    PerlSetVar MasonDataDir              /home/indexdata/irspy/web/data
+    PerlSetVar IRSpyLibDir               /home/indexdata/irspy/lib
+    PerlSetEnv PERL5LIB                 /home/indexdata/irspy/lib
 
     #PerlSetEnv IRSpyDbName    localhost:8018/IR-Explain---1
 
    # We need +Parent to make PerlSwitches -I work properly ... don't ask.
    PerlOptions +Parent
 
     #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/irspy/lib
+   PerlSwitches -I/home/indexdata/irspy/lib
 
     <Location /admin>
        AuthType Basic
        AuthName "IRSpy Administration"
 
     <Location /admin>
        AuthType Basic
        AuthName "IRSpy Administration"
-       AuthUserFile /usr/local/src/git/irspy/web/conf/htpasswd
+       AuthUserFile /home/indexdata/irspy/web/conf/htpasswd
        Require user admin
     </Location>
 
        Require user admin
     </Location>