Welcome! Log In Create A New Profile

Advanced

Re: настройка FastCGI

Igor Sysoev
December 18, 2009 05:44AM
On Fri, Dec 18, 2009 at 05:25:39AM -0500, NT Man wrote:

> > Нет. alias влияет на $document_root, но не из "location /phpmyadmin",
> > потому что "/phpmyadmin/login.php" в этот location не попадает.
>
> Т.е. запрос php сразу идет на обработку секцией location ~ \.php$?

Да.

> Как переписать alias, чтобы location ~ \.php$ получал уже измененный путь?

location ~ /phpmyadmin(/.+\.php)$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME d:/wnmp/apps/phpmyadmin3.2.0.1$1;
include fastcgi_params;
}


--
Игорь Сысоев
http://sysoev.ru

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

настройка FastCGI

NT Man December 17, 2009 03:12PM

Re: настройка FastCGI

Nick Knutov December 17, 2009 05:26PM

Re: настройка FastCGI

NT Man December 18, 2009 04:15AM

Re: настройка FastCGI

Igor Sysoev December 18, 2009 04:30AM

Re: настройка FastCGI

NT Man December 18, 2009 05:25AM

Re: настройка FastCGI

NT Man December 18, 2009 06:36AM

Re: настройка FastCGI

Igor Sysoev December 18, 2009 05:44AM

Re: настройка FastCGI

Peter Vereshagin December 18, 2009 06:14AM

Re: настройка FastCGI

Peter Vereshagin December 18, 2009 07:10AM

Re: настройка FastCGI

Igor Sysoev December 18, 2009 07:20AM

Re: настройка FastCGI

Peter Vereshagin December 18, 2009 07:26AM

Re: настройка FastCGI

Igor Sysoev December 18, 2009 07:30AM

Re: настройка FastCGI

Peter Vereshagin December 18, 2009 07:54AM

Re: настройка FastCGI

Olexander Shtepa December 18, 2009 07:34AM

Re: настройка FastCGI

Sergey Shepelev December 18, 2009 07:40AM

Re: настройка FastCGI

Peter Vereshagin December 18, 2009 07:58AM

Re: настройка FastCGI

NT Man December 18, 2009 07:50AM

Re: настройка FastCGI

Igor Sysoev December 18, 2009 07:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready