location workflow question
euhost.net - matevz sernc-urban
ms at euhost.net
Sat Feb 21 11:50:24 MSK 2009
Maxim Dounin schrieb:
> Hello!
>
> On Sat, Feb 21, 2009 at 01:24:38AM +0100, euhost.net - matevz sernc-urban wrote:
>
>> Hello
>>
>> i have here a configuration, where a request to
>> /forum/viewforum-18-bla.php is not parsed by php.
>>
>> My Question is: why doesnt the "location ~ .php$" get's executed after
>> the "location ^~ /forum/" is finished?
>
> Any reason why it should? URI in question is mathched by
> "location ^~ /forum/" and regex location processing forbidden
> after this location (note ^~).
>
> Maxim Dounin
>
Thats the key!
I changed the directive to "location ~ ^/forum/" and now both location's
are processed one after another.
Thanks!
Matevz Sernc-Urban
More information about the nginx
mailing list