On Thu, Feb 21, 2013 at 07:08:56PM +0000, Ed W wrote:
> On 21/02/2013 17:54, Igor Sysoev wrote:
Hi there,
> > location ~ ^(?<script_name>.+\.php)(?<path_info>/|$) {
> Can I ask you to confirm the correction of a typo in your answer. Do I
> want this:
>
> ....(?<path_info>.*) {
You probably want
location ~ ^(?<script_name>.+\.php)(?<path_info>/.*|$) {
because you want to match /X.php or /X.php/X but not /X.phpX.
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx