]> gitweb.ps.run Git - ps-cgit/commitdiff
Teach cgit how to use PATH_INFO
authorLars Hjemli <hjemli@gmail.com>
Sat, 9 Aug 2008 19:11:41 +0000 (21:11 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 15 Sep 2008 21:00:30 +0000 (23:00 +0200)
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 <hjemli@gmail.com>

No differences found