# 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 #Listen # 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 11.22.33.44 # KOHA's OPAC Configuration ServerAdmin DocumentRoot /home/jlcopaco/koha/htdocs ServerName ScriptAlias /cgi-bin/koha/ /home/jlcopaco/koha/cgi-bin/ Redirect permanent index.html http://:/cgi-bin/koha/opac-main.pl ErrorLog /home/jlcopaco/log/opac-error_log TransferLog /home/jlcopaco/log/opac-access_log SetEnv PERL5LIB "/home/jlcopaco/intranet/modules" SetEnv KOHA_CONF "/home/jlcopaco/etc/koha.conf" # KOHA's INTRANET Configuration ServerAdmin DocumentRoot /home/jlcopaco/intranet/htdocs ServerName ScriptAlias /cgi-bin/koha/ "/home/jlcopaco/intranet/cgi-bin/" Redirect permanent index.html http://:/cgi-bin/koha/mainpage.pl ErrorLog /home/jlcopaco/log/koha-error_log TransferLog /home/jlcopaco/log/koha-access_log SetEnv PERL5LIB "/home/jlcopaco/intranet/modules" SetEnv KOHA_CONF "/home/jlcopaco/etc/koha.conf" # If you want to use name based Virtual Hosting: # 1. remove the two Listen lines # 2. replace : wih your.opac.domain.name # 3. replace ServerName wih ServerName your.opac.domain.name # 4. replace : wih your intranet domain name # 5. replace ServerName wih 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