<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi all,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Just thought I would let you know that I have had two solutions to this problem - each solution seems to work.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The first solution was to load the mod_env module (uncomment the relevant entries in httpd.conf). Thanks to Martin Longo for this.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The second approach was to change the SetEnv commands to SetenvIf commands - syntax like this (thanks to Marty Jongpier:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>SetEnv PERL5LIB "/usr/local/koha/intranet/modules"</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>SetEnv KOHA_CONF "/etc/koha.conf"</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>change to this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>SetEnvIf Request_URI "\.pls" PERL5LIB "/usr/local/koha/intranet/modules"</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>SetEnvIf Request_URI "\.pls" KOHA_CONF "/etc/koha.conf"</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Hope this helps if others have the same problem in future.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Regards,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ian.<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><I style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; ">--</SPAN></SPAN></SPAN></I></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><B style="font-family: Gill Sans; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-weight: bold; ">Ian Piper</SPAN></SPAN></SPAN></B></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; ">Tellura Information Services - the web, document and information people</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><A href="http://www.tellura.co.uk">http://www.tellura.co.uk</A>/</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; ">01926 811574 | 07973 156616</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><SPAN class="Apple-style-span" style="font-family: Gill Sans; ">skype: ianmpiper</SPAN></FONT><FONT class="Apple-style-span" face="Gill Sans"></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><I style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; ">--</SPAN></SPAN></SPAN></I></FONT></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR><DIV><DIV>On 10 Jan 2006, at 12:13pm, Ian Piper wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi all,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>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:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>morse:~ admin$ apachectl start</DIV><DIV>Processing config directory: /etc/httpd/sites/*.conf</DIV><DIV> Processing config file: /etc/httpd/sites/0000_any_80_.conf</DIV><DIV> Processing config file: /etc/httpd/sites/virtual_host_global.conf</DIV><DIV>Syntax error on line 30 of /etc/koha-httpd.conf:</DIV><DIV>Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not included in the server configuration</DIV><DIV>/usr/sbin/apachectl start: httpd could not be started</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The syntax looks OK, and I believe that I have an appropriate version of apache (1.3). Any guidance much appreciated.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ian.<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><I style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; ">--</SPAN></SPAN></SPAN></I></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><B style="font-family: Gill Sans; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-weight: bold; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-weight: bold; ">Ian Piper</SPAN></SPAN></SPAN></B></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; ">Tellura Information Services - the web, document and information people</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><A href="http://www.tellura.co.uk">http://www.tellura.co.uk</A>/</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; ">01926 811574 | 07973 156616</SPAN></SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><SPAN class="Apple-style-span" style="font-family: Gill Sans; ">skype: ianmpiper</SPAN></FONT><FONT class="Apple-style-span" face="Gill Sans"></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Gill Sans"><I style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; "><SPAN class="Apple-style-span" style="font-family: Gill Sans; font-style: italic; ">--</SPAN></SPAN></SPAN></I></FONT></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Koha mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>