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: nginx-0.8.25



On Tue, Nov 17, 2009 at 09:33:25AM +0500, ash2k - wrote:

> location ~ ^/(?<x>[0-9]+)x(?<y>[0-9]+)(?:x(?<z>[0-9]+))?/(?<n>.+)$
> {
>       ....
> }
> 
>   $z    -    
> ? .

.    location':

 location ~ ^/(?<x>[0-9]+)x(?<y>[0-9]+)/(?<n>.+)$

 location ~ ^/(?<x>[0-9]+)x(?<y>[0-9]+)(?:x(?<z>[0-9]+))?/(?<n>.+)$

> 16  2009 . 20:36  Igor Sysoev <is@xxxxxxxxxxxxx> :
> > On Mon, Nov 16, 2009 at 07:50:28PM +0500, ash2k - wrote:
> >
> >> >  *) :     .
> >>
> >>        ?    
> >>     .
> >
> >  server {
> >    server_name ~^(www\.)?(?<name>.+)$;
> >    root $name;
> >  }
> >
> >  location ~^(?<script_name>/.+\.php)(?<path_info>.*)$ {
> >    fastcgi_param SCRIPT_FILENAME /path/to/php$script_name;
> >    fastcgi_param PATH_INFO    $path_info;


-- 
 
http://sysoev.ru



 




Copyright © Lexa Software, 1996-2009.