ViewVC cgi script doesn't work in web root
Posted: Sat Apr 07, 2007 5:58 pm
I've been attempting to install ViewVC, and things are mostly functional. The installation is accessible from http://hp.jpsband.org/v/viewvc.cgi/
Notice, however, how there is that /v/ in the URL. This is a strange hack to fix a bug that I haven't been able to figure out, and which I hope to resolve now.
ViewVC's install directory contains bin/cgi/, which contains CGI script stubs which you can copy elsewhere. If I copy these to the webroot/v, the scripts work, but copying them directly to webroot results in a 500 Internal Server Error. The error logs say "Premature End of Script Headers" from viewvc.cgi. Moving the scripts to the subdirectory fixes the problem.
Any insights?
Notice, however, how there is that /v/ in the URL. This is a strange hack to fix a bug that I haven't been able to figure out, and which I hope to resolve now.
ViewVC's install directory contains bin/cgi/, which contains CGI script stubs which you can copy elsewhere. If I copy these to the webroot/v, the scripts work, but copying them directly to webroot results in a 500 Internal Server Error. The error logs say "Premature End of Script Headers" from viewvc.cgi. Moving the scripts to the subdirectory fixes the problem.
Any insights?