On Wed, 1 Mar 2006 16:35:27 +0300 Grigory Batalov <[EMAIL PROTECTED]> wrote:
> Every time I request URL in browser, trac turns me back to > the projects list and appends selected link to the end of the > current URL. So I can easily get something like > > http://localhost:8081/projects/project1/project2/project3 ... > PATH_INFO = /projects/aster/login > SCRIPT_NAME = /projects/aster/login After a couple of experiments I've found that SCRIPT_NAME should be /projects and PATH_INFO should be /aster/login (e.g. trailing part). With nginx we can get these parts from $fastcgi_script_name variable by simple regular expression lookup: if ($fastcgi_script_name ~ "^/projects(.*)$") { set $path_info $1; } fastcgi_param PATH_INFO $path_info; _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
