author | Jakub Narebski <jnareb@gmail.com> | |
Sat, 5 Jun 2010 21:11:18 +0000 (23:11 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 11 Jun 2010 15:54:35 +0000 (08:54 -0700) | ||
commit | 45aa9895c5bef3914b6f3707b983f7a53900ebb7 | |
tree | 8502c99969f0b31838cde7ccd3dfd7b0172727c3 | tree | snapshot |
parent | a0446e7ba8dc05c67052b67c2faacdf5f7ce625a | commit | diff |
gitweb: Run in FastCGI mode if gitweb script has .fcgi extension
If the name of the script ($SCRIPT_NAME or $SCRIPT_FILENAME CGI
environment variable, or __FILE__ literal) ends with '.fcgi'
extension, run gitweb in FastCGI mode, as if it was run with
'--fastcgi' / '--fcgi' option.
This is intended for easy deploying gitweb using FastCGI
interface.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If the name of the script ($SCRIPT_NAME or $SCRIPT_FILENAME CGI
environment variable, or __FILE__ literal) ends with '.fcgi'
extension, run gitweb in FastCGI mode, as if it was run with
'--fastcgi' / '--fcgi' option.
This is intended for easy deploying gitweb using FastCGI
interface.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |