I'm running LAMP on Arch and now want the gitweb going on apache. Followed the instructions as in https://wiki.archlinux.org/index.php/Gitweb but on the gitweb directory (here localhost/~myuser/gitweb
) I get:
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: gitweb.cgi
If you think this is a server error, please contact the webmaster.
Error 500
localhost
Fri Jun 8 15:14:11 2012
Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.1c DAV/2 PHP/5.4.3
Appreciating your helps. Thanks.
suexec.log
I see this:[2012-06-08 13:29:51]: uid: (1000/myuser) gid: (1000/myuser) cmd: gitweb.cgi [2012-06-08 13:29:51]: command not in docroot (/usr/share/gitweb/gitweb.cgi)
– ai64 Jun 8 '12 at 14:34public_html
folder. You could either try to setup a symlink or hard link if you don't want to copy the file into your folder but i'd assume only a hardlink would work. – Ulrich Dangel Jun 8 '12 at 14:49