Skip to main content.
home | support | download

Back to List Archive

Re: Templates and swishcgi.conf

From: Thomas Nyman <thomas(at)not-real.teg.pp.se>
Date: Sat May 14 2005 - 14:37:13 GMT
> You want
>
>     return {
>         title => 'Dokument Arkiv',
>         swish_binary => '/usr/local/bin/swish-e',
>         swish_index => '/Users/medarbetare/Public/index/index.swish-e',
>         prepend_path => '/arkiv/',
>
>         # Template options
>
>         template => {
>            package         => 'SWISH::TemplateToolkit',
>            file            => 'search.tt',
>            options         => {
>                 INCLUDE_PATH    => 
> '/usr/local/share/doc/swish-e/examples',
>            },
>         },  # end template block
>     };
>
Alas, your suggested content generates the following error message

Config file '.swishcgi.conf': syntax error at .swishcgi.conf line 13, 
near "template"
[Sat May 14 16:34:03 2005] [error] [client 192.168.1.4] Premature end 
of script headers: /Library/WebServer/CGI-Executables/swish.cgi

Thomas
Received on Sat May 14 07:37:13 2005