cgit not displaying file content

Ferry Huberts mailings at
Mon Feb 27 18:00:47 CET 2012

you can add echo commands to the script. that makes it easy to trace 
_if_ the script is run, and if so, where it has a problem.
the output of the echo's will have to go to stdout for you to be able to 
see it on the webpage

On 27-02-12 17:32, Jon Chen wrote:
>>> source-filter=/usr/local/lib/cgit/filters/
>> does your webserver have execute access to this file, do you have
>> highlight installed, etc..
>> .. check your logs: apache error logs, selinux logs
> hmm, I commented out that line in cgitrc and looks like the filter is
> indeed the issue.
> I checked, and I do have highlight installed (textproc/highlight)
> from httpd-error.log:
>> [: index: unexpected operator, referer:
>> fatal: Subprocess /usr/local/lib/cgit/filters/ exited abnormally, referer:
> I gave apache the correct permissions for the script but it still
> doesn't display the file contents.
> I looked in the bash script, and it says:
> # This script requires a shell supporting the ${var##pattern} syntax.
> I do have zsh + bash installed on freebsd, but apache is nologin? I'm
> not really sure what that means.
> Could that be the issue? And if so, how would i correct it?
> _______________________________________________
> cgit mailing list
> cgit at

Ferry Huberts

More information about the CGit mailing list