author | Mark A Rada <marada@uwaterloo.ca> | |
Sat, 8 Aug 2009 22:24:02 +0000 (18:24 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 10 Aug 2009 01:38:47 +0000 (18:38 -0700) | ||
commit | f0e588dffc1a592ec7879cdb610654937cbbe25e | |
tree | bf25b11ba38864a3216dca202e99df006c99affa | tree | snapshot |
parent | 5dc36a5888a7063ff4536c9ea50eb0557bfef627 | commit | diff |
git-instaweb: fix mod_perl detection for apache2
The script was looking for something that matched the '^our $gitbin'
regex, which no longer exists in gitweb.cgi.
Now it looks for 'MOD_PERL', which should be on the line that checks
to see if the script is running in a mod_perl environment.
Signed-off-by: Mark Rada <marada@uwaterloo.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The script was looking for something that matched the '^our $gitbin'
regex, which no longer exists in gitweb.cgi.
Now it looks for 'MOD_PERL', which should be on the line that checks
to see if the script is running in a mod_perl environment.
Signed-off-by: Mark Rada <marada@uwaterloo.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-instaweb.sh | diff | blob | history |