From: Lars Hjemli Date: Sat, 9 Aug 2008 19:11:41 +0000 (+0200) Subject: Teach cgit how to use PATH_INFO X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/e154edd8078020d6eba41b448afade0a68617f35?hp=e154edd8078020d6eba41b448afade0a68617f35 Teach cgit how to use PATH_INFO This commit makes cgit use the cgi variables SCRIPT_NAME and PATH_INFO when virtual-root is unspecified in cgitrc and no url-parameter is specified on the querystring. This has two nice effects: * Virtual urls works out of the box, no more need for rewrite-rules in httpd. * Virtual urls with special querystring characters are handled correctly. Signed-off-by: Lars Hjemli ---