httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52710] New: mod_fcgid should set PATH_INFO when configured in 'virtual' mode
Date Sun, 19 Feb 2012 20:42:04 GMT
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: bugs@httpd.apache.org
        ReportedBy: crosser@average.org
    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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message