Welcome! Log In Create A New Profile

Advanced

Re: Замена if на try_files

December 13, 2011 04:02PM
On 12/13/11 20:23, Sergey Kobzar wrote:
> Приветствую
>
> Пытаюсь заменить
>
> if (!-e $request_filename) {
> rewrite '(?i)^' /$subfolder/index.php last;
> }
>
> на
>
> location / {
> try_files $uri /$subfolder/index.php;
> }

Называется "сам дурак". Вопрос пока снимается.

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

Замена if на try_files

sergey.kobzar December 13, 2011 01:26PM

Re: Замена if на try_files

sergey.kobzar December 13, 2011 04:02PM

Re: Замена if на try_files

Maxim Dounin December 13, 2011 06:54PM

Re: Замена if на try_files

sergey.kobzar December 14, 2011 08:38AM

Re: Замена if на try_files

Maxim Dounin December 14, 2011 09:12AM

Re: Замена if на try_files

Maxim Dounin December 14, 2011 09:40AM

Re: Замена if на try_files

sergey.kobzar December 14, 2011 10:10AM

Re: Замена if на try_files

Maxim Dounin December 14, 2011 11:34AM

Re: Замена if на try_files

sergey.kobzar December 14, 2011 11:46AM

Re: Замена if на try_files

Oleksandr V. Typlyns'kyi December 14, 2011 02:12PM

Re: Замена if на try_files

sergey.kobzar December 14, 2011 02:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 134
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