https://issues.apache.org/bugzilla/show_bug.cgi?id=52710

             Bug #: 52710
           Summary: mod_fcgid should set PATH_INFO when configured in
                    'virtual' mode
           Product: Apache httpd-2
           Version: 2.2.16
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_fcgid
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


module version 2.3.6.
When you run FcgidWrapper with 'virtual' flag (because the application has its
own URL namespace), the module does not set PATH_INFO and PATH_TRANSLATED, but
instead set SCRIPT_NAME and SCRIPT_FILENAME in accordance with the URL from the
HTTP request. The application usually wants to see the URL in the PATH_INFO
environment variable. In addition to that, I could argue that setting
SCRIPT_NAME from the URL is conceptually wrong.

I think that when the wrapper is specified with 'virtual' flag, the module must
provide PATH_INFO and PATH_TRANSLATED. Providing SCRIPT_NAME and
SCRIPT_FILENAME is superfluous and can be dropped (but it does no harm if it's
present).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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