On 04/10/2012 05:22 PM, Ian M. Evans wrote:
> On Tue, April 10, 2012 8:02 pm, Edho Arief wrote:
>> location /ournewblog/ {
>> root ...;
>> try_files $uri /ournewblog/index.php?q=$uri;
>> location ~ \.php$ {
>> fastcgi_pass ...
>> ...
>> }
>> }
>>
>> Hopefully you don't have regex based location on server { } block.
>> Otherwise you can try location ~ ^/ournewblog/ instead.
> I've always been a bit unsure of handling nginx locations so how can I
> tell if I have a "regex based location"?
http://nginx.org/en/docs/http/request_processing.html
Regards,
Cliff
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx