From: Jakub Narebski Date: Sat, 5 Jun 2010 21:11:18 +0000 (+0200) Subject: gitweb: Run in FastCGI mode if gitweb script has .fcgi extension X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/0fa5db2fad6d3d78e8685b90da95f71bc54082572d54d2ea9441f316891f185c?hp=0fa5db2fad6d3d78e8685b90da95f71bc54082572d54d2ea9441f316891f185c 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 Signed-off-by: Junio C Hamano ---