Join GitHub today
CGI scripts, specifically cgit #3
I am trying to get cgit to be served by merecat and have come up against this bug. I do not fully understand CGI and
I'd be happy to provide any other information to help debug this.
Hi! What version of Mercat httpd are you using, a released version or the latest master? I've mostly run GitWeb and fixed some CGI issues surrounding that, see http://git.troglobit.com/
The mail thread you linked to look very interesting, I found the "titan" patches¹ which I'll look into when I find the time. There could definitely be more details to look into. The patch itself is however already applied to Merecat, which leads me back to my first question; what version of Merecat are you using?
With the following in my
# cgit config css=/cgit.css logo=/cgit.png # Prepend this to all URLs virtual-root=/cgit.cgi/ # Home of all GIT repos scan-path=/srv/git/ # if you do not want that webcrawler (like google) index your site robots=noindex, nofollow
root@example:/usr/share/cgit# ll total 1000 drwxr-xr-x 2 root root 4096 Mar 30 11:16 ./ drwxr-xr-x 140 root root 4096 Mar 30 09:39 ../ -rwxr-xr-x 2 root root 986800 Feb 12 2016 cgit.cgi* -rw-r--r-- 1 root root 13312 Feb 12 2016 cgit.css -rw-r--r-- 1 root root 1278 Feb 12 2016 cgit.png -rw-r--r-- 1 root root 1078 Feb 12 2016 favicon.ico lrwxrwxrwx 1 root root 22 Mar 30 11:16 filters -> ../../lib/cgit/filters/ lrwxrwxrwx 1 root root 8 Mar 30 10:16 index.cgi -> cgit.cgi* -rw-r--r-- 1 root root 47 Feb 12 2016 robots.txt