From mboxrd@z Thu Jan 1 00:00:00 1970 From: sjchen at derpify.me (Jon Chen) Date: Mon, 27 Feb 2012 10:32:44 -0600 Subject: cgit not displaying file content Message-ID: > > 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?