Welcome! Log In Create A New Profile

Advanced

Re: try_files random

July 23, 2012 08:46AM
Сделал так
perl_set $dice 'sub {
if (@pool) {
push @pool, shift @pool;
} else {
@pool = ("/ПУТЬ_К_ПАПКЕ1", "/ПУТЬ_К_ПАПКЕ2","/ПУТЬ_К_ПАПКЕ3","/ПУТЬ_К_ПАПКЕ4");
}
return $pool[0];
}';

server ...
try_files $dice$1 $dice$1 $dice$1 $dice$1
=404;

Запрашиваю файл с /ПУТЬ_К_ПАПКЕ1 , 1-й раз одтает файл прекрасно , жму F5 , следующие 2 3 4-й разы 404 получаю , на пятый раз опять получаю файл , что не так? :)
Subject Author Posted

try_files random

arty777 July 20, 2012 11:36AM

Re: try_files random

Andrey Repin July 20, 2012 12:52PM

Re: try_files random

arty777 July 20, 2012 02:08PM

Re: try_files random

arty777 July 20, 2012 03:40PM

Re: try_files random

arty777 July 21, 2012 11:25AM

Re: try_files random

arty777 July 21, 2012 02:21PM

Re: try_files random

arty777 July 23, 2012 08:46AM

Re: try_files random

arty777 July 23, 2012 08:48AM

Re: try_files random

arty777 July 23, 2012 10:22AM

Re: try_files random

arty777 July 23, 2012 12:43PM

Re: try_files random

arty777 July 23, 2012 01:28PM

Re: try_files random

arty777 July 23, 2012 01:51PM

Re: try_files random

arty777 July 23, 2012 03:22PM

Re: try_files random

Dmitry Y. Labutin July 20, 2012 02:38PM

Re: try_files random

Alexandr Gomoliako July 20, 2012 04:14PM

Re: try_files random

arty777 July 20, 2012 04:30PM

Re: try_files random

Alexandr Gomoliako July 20, 2012 05:16PM

Re: try_files random

Валентин Бартенев July 20, 2012 06:20PM

Re: try_files random

Валентин Бартенев July 20, 2012 06:24PM

Re: try_files random

Alexandr Gomoliako July 20, 2012 06:44PM

Re: try_files random

Alexandr Gomoliako July 21, 2012 12:48PM

Re: try_files random

Alexandr Gomoliako July 23, 2012 10:02AM

Re: try_files random

Alexandr Gomoliako July 23, 2012 11:00AM

Re: try_files random

Alexandr Gomoliako July 23, 2012 01:14PM

Re: try_files random

Alexandr Gomoliako July 23, 2012 01:42PM

Re: try_files random

Alexandr Gomoliako July 23, 2012 03:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready