author | Eric Wong <normalperson@yhbt.net> | |
Wed, 4 Aug 2010 09:51:25 +0000 (09:51 +0000) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Thu, 5 Aug 2010 08:51:26 +0000 (08:51 +0000) | ||
commit | 422bff280297b55aff6542cc5df1c078f37ab673 | |
tree | e85de3ec3b96524fcc1ccdc0b30c31493340288e | tree | snapshot |
parent | 721e76cbfac650ce676fc789b717eb21e1daa46e | commit | diff |
instaweb: fix WEBrick server support
This has been broken since commit be5347b ("httpd logs in a
"$httpd_only" subdirectory").
Since WEBrick has no other way of preserving environment
variables needed for gitweb, we create a shell script wrapper
that sets the environment variables as our CGI interpreter
to run gitweb.cgi.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
This has been broken since commit be5347b ("httpd logs in a
"$httpd_only" subdirectory").
Since WEBrick has no other way of preserving environment
variables needed for gitweb, we create a shell script wrapper
that sets the environment variables as our CGI interpreter
to run gitweb.cgi.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-instaweb.sh | diff | blob | history |