Hi On Thu, Jun 16, 2016, at 22:06, Ben wrote: > > >> > >> If it helps, I'm using bramus router and my configured paths are as > >> follows : > >> > > > > Looks like the logic for getting base path is a bit interesting. Try > > this for related line: > > > > fastcgi_param SCRIPT_NAME /demo/; > > > > That didn't work unfortunatley. > > Just dug up their code and I see what you mean ! > > I put their "implode('/', array_slice(explode('/', > $_SERVER['SCRIPT_NAME']), 0, -1)) . '/';" into my PHP and > > for /demo/ it prints "/demo/" > and > for /demo/hello/x it prints "/demo/hello" > > Which looks like their "auto base-path" is setting moving goalposts !! >
That doesn't make sense if you actually use my configuration since SCRIPT_NAME is static. _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx