$fastcgi_script_name set incorrectly with alias directive
Dick Middleton
dick at fouter.net
Sun Aug 28 21:46:57 UTC 2011
On 08/28/11 21:47, Michael Shadle wrote:
> Alias does not change document root so that variable is going to be whatever the document root is. Not what the alias is
Hmm, document_root is set, as I would expect, to alias value. It's the script
name (document_uri) which, to me, is wrong.
What's really puzzling is that request_filename is 'correct'. That's a
sentiment I expressed in May when:
On 05/25/11 13:48, Igor Sysoev wrote:
> $request_filename is "$document_root$uri".
Apparently not always :)
Dick
More information about the nginx
mailing list