Welcome! Log In Create A New Profile

Advanced

Re: $fastcgi_script_name set incorrectly with alias directive

Dick Middleton
August 28, 2011 05:48PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

$fastcgi_script_name set incorrectly with alias directive

Dick Middleton August 28, 2011 03:58PM

Re: $fastcgi_script_name set incorrectly with alias directive

mike August 28, 2011 05:06PM

Re: $fastcgi_script_name set incorrectly with alias directive

Dick Middleton August 28, 2011 05:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready