https://bz.apache.org/bugzilla/show_bug.cgi?id=61202

            Bug ID: 61202
           Summary: SCRIPT_NAME is broken in 2.4.26, path is stripped
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_proxy_fcgi
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Hi,


with 2.4.26 the variable SCRIPT_NAME, which is passed to fcgi applications such
as php-fpm, no longer contains the full uri path.

ex.
http://server.example/~phil/blah.php

$_SERVER['SCRIPT_NAME'] /blah.php
$_SERVER['REQUEST_URI'] /~phil/blah.php
$_SERVER['SCRIPT_FILENAME'] /home/phil/.public_html/blah.php
$_SERVER['CONTEXT_DOCUMENT_ROOT'] /home/phil/.public_html
$_SERVER['CONTEXT_PREFIX'] /~phil

SCRIPT_NAME should be /~phil/blah.php, not /blah.php.


Kind regards

Phil

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to