> > source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.sh
>
>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: 
> http://git.sjchen.com/poundsite/tree/team-poundit-in
> fatal: Subprocess /usr/local/lib/cgit/filters/syntax-highlighting.sh exited 
> abnormally, referer: http://git.sjchen.com/poundsite/tree/team-poundit-in

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
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to