Your message dated Tue, 16 Feb 2016 10:40:54 -0800
with message-id 
<CAL4L7=an-4xtdiq3qmhb-_vumtuochvayej_oez-k8gjyo0...@mail.gmail.com>
and subject line 
has caused the Debian Bug report #807663,
regarding Split snippet fastcgi-php/conf, leaving leading 
fastcgi_split_path_info out
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
807663: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807663
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nginx-common
Version: 1.9.6-2
Severity: wishlist

The need for a custom fastcgi_split_path_info renders snippet unusable.

Case in point:

        location /cluebringer/ {
                alias /usr/share/postfix-cluebringer-webui/webui/;
                index index.php;

                location ~ ".+\.php$" {
                        fastcgi_split_path_info ^/cluebringer(.+\.php)()$;
                        include snippets/fastcgi-php-no-split.conf;
                        ...

fastcgi-php-no-split.conf is the old fastcgi-php.conf without the leading
fastcgi_split_path_info.

fastcgi-php.conf can be rewritten as:

# regex to split $uri to $fastcgi_script_name and $fastcgi_path
fastcgi_split_path_info ^(.+\.php)(/.+)$;

include snippets/fastcgi-php-no-split.conf;
EOF

Thanks,
   Gerardo



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nginx-common depends on:
ii  init-system-helpers  1.24
ii  lsb-base             9.20150917
ii  python               2.7.11-1

nginx-common recommends no packages.

Versions of packages nginx-common suggests:
ii  fcgiwrap   1.1.0-6
pn  nginx-doc  <none>
ii  ssl-cert   1.0.37

-- no debconf information

--- End Message ---
--- Begin Message ---
tags 807663 +wontfix
thanks

I need to agree with Chris and, rather than wait for objections, I
will be closing this bug.

The configuration file currently provided includes
fastcgi_split_path_info with an option that helps ensure a level of
security. In order to prevent users from accidentally choosing the
wrong file, we will not include another copy of the file with this
option omitted.

Additionally, you are incorrectly using fastcgi_split_path_info and
essentially rendering the option useless. If your application has
issues with the default, the likely root cause is with the web
application and not nginx.

--- End Message ---

Reply via email to