[Koha] Invalid command 'SetEnv'
Ian Piper
ianpiper at tellura.co.uk
Wed Jan 11 23:07:21 NZDT 2006
Hi all,
Just thought I would let you know that I have had two solutions to
this problem - each solution seems to work.
The first solution was to load the mod_env module (uncomment the
relevant entries in httpd.conf). Thanks to Martin Longo for this.
The second approach was to change the SetEnv commands to SetenvIf
commands - syntax like this (thanks to Marty Jongpier:
SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
SetEnv KOHA_CONF "/etc/koha.conf"
change to this:
SetEnvIf Request_URI "\.pls" PERL5LIB "/usr/local/koha/intranet/
modules"
SetEnvIf Request_URI "\.pls" KOHA_CONF "/etc/koha.conf"
Hope this helps if others have the same problem in future.
Regards,
Ian.
--
Ian Piper
Tellura Information Services - the web, document and information people
http://www.tellura.co.uk/
01926 811574 | 07973 156616
skype: ianmpiper
--
On 10 Jan 2006, at 12:13pm, Ian Piper wrote:
> Hi all,
>
> This is my first posting on this list, so apologies if this
> question is a FAQ. I am installing Koha on Mac OS X Server. All
> seems to have gone well, but on trying to start apache after
> "including" the koha-httpd.conf file I am seeing the following error:
>
> morse:~ admin$ apachectl start
> Processing config directory: /etc/httpd/sites/*.conf
> Processing config file: /etc/httpd/sites/0000_any_80_.conf
> Processing config file: /etc/httpd/sites/virtual_host_global.conf
> Syntax error on line 30 of /etc/koha-httpd.conf:
> Invalid command 'SetEnv', perhaps mis-spelled or defined by a
> module not included in the server configuration
> /usr/sbin/apachectl start: httpd could not be started
>
> The syntax looks OK, and I believe that I have an appropriate
> version of apache (1.3). Any guidance much appreciated.
>
> Thanks,
>
>
> Ian.
> --
> Ian Piper
> Tellura Information Services - the web, document and information
> people
> http://www.tellura.co.uk/
> 01926 811574 | 07973 156616
> skype: ianmpiper
> --
>
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20060111/7e186fcc/attachment.html
More information about the Koha
mailing list