Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: if



, J.

    :

                        location ~ ^\/sitemap {
                                                        set $dir1 "0";
                                                        set $dir2 "0";
                                                        if ($uri ~ 
"^.{14}(..)(..)" ) {
                                                                set $dir1 $1;
                                                                set $dir2 $2;
                                                        }
                                                        root /.../$dir1/$dir2;

                        }


JC>    ,   .
JC>  :

JC>  location ^~ /xml/out {
JC>  set $fld "";
JC>  if ( $arg_spo ~ ".+(..)$" ) {
JC>  set $fld $1;
JC>  }
JC>  root /opt/public_html;
JC>  try_files /data/spo-xml/$fld/$arg_spo.xml @apache2;
JC>  }

JC>    -    "
JC> ./opt/public_html/xml/out...  "
JC>   if - try_files ,   .
JC>     #nginx,      if,   ? 
=)
JC>   ?


  

--

 ,
 ۣ, SoftSearch.ru
mailto:postmaster@xxxxxxxxxxxxx
ICQ# 166233339
http://michael.mindmix.ru/
   .



  • Follow-Ups:
    • Re: if
      • From: Andrew Salnikov
  • References:
    • if
      • From: J Channel

 




Copyright © Lexa Software, 1996-2009.