gogits/gogs — pull request #628 by KylePDavis (2014-11-16 05:15:49+00:00)
Title: Use AppSubUrl as prefix for routes in FCGI mode

Minor fix to use `setting.AppSubUrl` as router URL prefix when in FCGI-mode.

Adds ability to run under a sub-URL when in FCGI-mode (e.g., `example.com/gogs/`)

Fixes remaining issues in #582.