[Koha] New Install

Christopher Borkowski cborkowski at guggenheim.org
Thu May 11 07:44:29 NZST 2006


I've installed Koha 2.2.5 on a Debian Sarge build and after adding the
"Include /ect/koha-httpd.conf" to apache's http.conf file the webserver
stops running or answering on ports 80 and 8080. Below is my koha-httpd.conf
files.

Any thoughts why ?

Thanks
Chris Borkowski
Guggenheim Museum

# Ports to listen to for Koha
# uncomment these if they aren't already in main httpd.conf
#
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.

# KOHA's OPAC Configuration
<VirtualHost opac1:80>
   ServerAdmin cborkowski at guggenheim.org
   DocumentRoot /usr/local/koha/opac/htdocs
   ServerName opac1
   ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/
   Redirect permanent index.html http://opac1:80/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"
SetEnvIf Request_URI "\.pls" PERL5LIB "/usr/local/koha/intranet/modules"
SetEnvIf Request_URI "\.pls" KOHA_CONF "/etc/koha.conf"

</VirtualHost>

# KOHA's INTRANET Configuration
<VirtualHost opac1:8080>
   ServerAdmin cborkowski at guggenheim.org
   DocumentRoot /usr/local/koha/intranet/htdocs
   ServerName opac1
   ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/"
   Redirect permanent index.html http://opac1:8080/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"
SetEnvIf Request_URI "\.pls" PERL5LIB "/usr/local/koha/intranet/modules"
SetEnvIf Request_URI "\.pls" KOHA_CONF "/etc/koha.conf"

</VirtualHost>



More information about the Koha mailing list