On 21/02/2013 17:54, Igor Sysoev wrote:
> location ~ ^(?<script_name>.+\.php)(?<path_info>/|$) {
> try_files $script_name =404;
>
> include fastcgi2.conf;
> fastcgi_param PATH_INFO $path_info;
> fastcgi_pass 127.0.0.1:9000;
> }
Thanks!!
Can I ask you to confirm the correction of a typo in your answer. Do I
want this:
....(?<path_info>.*) {
ie is this ammended version correct in the face of a URL such as:
blah.php/some/path?param=2
Thanks
Ed W
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
> location ~ ^(?<script_name>.+\.php)(?<path_info>/|$) {
> try_files $script_name =404;
>
> include fastcgi2.conf;
> fastcgi_param PATH_INFO $path_info;
> fastcgi_pass 127.0.0.1:9000;
> }
Thanks!!
Can I ask you to confirm the correction of a typo in your answer. Do I
want this:
....(?<path_info>.*) {
ie is this ammended version correct in the face of a URL such as:
blah.php/some/path?param=2
Thanks
Ed W
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx