[Koha] apache/koha problem
mike re-v
mrmrmr50 at yahoo.com
Sun Oct 16 01:55:59 NZDT 2005
William Macfarlane wrote:
>>/etc/httpd is ServerRoot. apache will use it in
lieu of
DocumentRoot,
>>which is why apache is saying htdocs is not found.
>>My guess is that some how your conf file is not
picking up
>>koha-httpd.conf, where DocumentRoot should be
defined.
>>
>>Exactly how did you include /etc/koha-httpd.conf?
>
>
> I have Include /etc/koha-httpd.conf in my
/etc/httpd/conf/httpd.conf.
> I know that this is working because all of the
Listen lines are in
> koha-httpd.conf.
>
> The problem has something to do with the virtual
hosting -- if I
> comment out the <VirtualHost> and the </VirtualHost>
lines for either
> of the ports, I can get either the OPAC or the
intranet running just
> fine.
>
> My koha-httpd.conf looks like this:
>
> Listen 80
> Listen 8080
>
> # KOHA's OPAC Configuration
> <VirtualHost opal:80>
> ServerAdmin wmacfarl at gmail.com
> DocumentRoot /usr/local/koha/opac/htdocs
> ServerName opal
> ScriptAlias /cgi-bin/koha/
/usr/local/koha/opac/cgi-bin/
> Redirect permanent index.html
http://opal: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"
>
> </VirtualHost>
>
> # KOHA's INTRANET Configuration
> <VirtualHost opal:8080>
> ServerAdmin wmacfarl at gmail.com
> DocumentRoot /usr/local/koha/intranet/htdocs
> ServerName opal
> ScriptAlias /cgi-bin/koha/
/usr/local/koha/intranet/cgi-bin/
> Redirect permanent index.html
http://opal: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"
>
> </VirtualHost>
>
> any thoughts would be appreciated,
> thanks!
Just a thought: what happens if you try?
http://opal:8080
http://opal:80
hth
re-v
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list