# Koha 2.2 Apache Virtual Host Config File # # Please include this file in your apache configuration. # The best way to do that depends on your site setup. # Some like an Include adding to /etc/apache/httpd.conf # and some prefer a symlink to this file from some dir. # Please refer to your system manuals. # Ports to listen to for Koha # uncomment these if they aren't already in main httpd.conf # Listen 80 Listen 8080 # NameVirtualHost is used by one of the optional configurations detailed below # Please make sure this line is correct before uncommenting. # See http://httpd.apache.org/docs/vhosts/ for some guides. #NameVirtualHost litwinlibrary.hopto.org # KOHA's OPAC Configuration ServerAdmin presently42@gmail.com DocumentRoot /usr/local/koha/opac/htdocs ServerName litwinlibrary.hopto.org ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/ Redirect permanent index.html http://litwinlibrary.hopto.org/cgi-bin/koha/opac-main.pl ErrorLog /usr/local/koha/log/opac-error_log TransferLog /usr/local/koha/log/opac-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf" # KOHA's INTRANET Configuration ServerAdmin presently42@gmail.com DocumentRoot /usr/local/koha/intranet/htdocs ServerName litwinlibrary.hopto.org ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/" Redirect permanent index.html http://litwinlibrary.hopto.org/cgi-bin/koha/mainpage.pl ErrorLog /usr/local/koha/log/koha-error_log TransferLog /usr/local/koha/log/koha-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf" # If you want to use name based Virtual Hosting: # 1. remove the two Listen lines # 2. replace Swine:80 wih your.opac.domain.name # 3. replace ServerName Swine with ServerName your.opac.domain.name # 4. replace Swine:8080 wih your intranet domain name # 5. replace ServerName Swine with ServerName your.intranet.domain.name # # If you want to use NameVirtualHost'ing (using two names on one ip address): # 1. Follow steps 1-5 above # 2. Uncomment the NameVirtualHost line and set the correct ip address