[Koha] Server Error when trying to run CGI scripts

Pierrick a.pparigot at xtra.co.nz
Fri Oct 25 08:24:47 NZDT 2002


Hi all

I'm new at this so bear with me please.
I am installing Koha for a client (and a friend who is very patient...)
I use RedHat 7.2 and ran the automatic install. The script seemed to work
well -at least I think it did- but I am getting scripts problems.

I can get to the Opac or the Intranet home pages fine, which means the httpd
daemon works. I ran httpd -S to check and it returned the two Koha Hosts
entries from httpd.conf with no syntax errors.
However if I click on any links from either home page that requires running
a script, I get a Server Error page.

My setup is straight from the installer.pl with all default locations
(/usr/local/koha/intranet/... and /usr/local/koha/opac/...).
I have checked the following:
- the httpd error log: no errors at start up or at any time afterwards.
- the users rights: all users who access Koha are members of the group
apache.
- apache is the group owner of all the koha directory structure under
/usr/local
- all cgi-bin .pl scripts have world-execute rights (711)

It looks like the ScriptAlias directive in the servers entries (httpd.conf)
don't work and subsequently the koha pages can't find the CGI scripts to
execute.
Currently the ScriptAlias directives read:
ScriptAlias /cgi-bin/koha/ "/usr/local/koha/opac/cgi-bin/"
ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/"

Any ideas???

Kind regards


Pierre

  WISYWYG Data
  a.pparigot at xtra.co.nz
  64-7-868-9806




More information about the Koha mailing list