Named location explicit config

Denis F. Latypoff denis at gostats.ru
Mon Sep 22 15:48:35 MSD 2008


Hello Igor,

Monday, September 22, 2008, 6:45:18 PM, you wrote:

> Of course, I meant to type

>         location ~ \.php$ {

> ahem!

> On 22 Sep 2008, at 12:21, Igor Clark wrote:

>> Hi,
>>
>> Is it possible to route specific types directly to a named location  
>> without using error_page?

no

>>
>> e.g.
>>
>>       location \.php$ {
>>               @phpapp;
>>       }
>>
>> That doesn't work, but is there any way to do this?
>>
>> Thanks very much,
>> Igor
>>
>> --
>> Igor Clark • POKE • 10 Redchurch Street • E2 7DD • +44 (0)20 7749  
>> 5355 • www.pokelondon.com
>>
>>
>>
>>

> --
> Igor Clark • POKE • 10 Redchurch Street • E2 7DD • +44 (0)20 7749 5355
> • www.pokelondon.com

-- 
Best regards,
 Denis                            mailto:denis at gostats.ru






More information about the nginx mailing list