You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/02/19 21:42:04 UTC

DO NOT REPLY [Bug 52710] New: mod_fcgid should set PATH_INFO when configured in 'virtual' mode

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


[Bug 52710] mod_fcgid should set PATH_INFO when configured in 'virtual' mode

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52710

Nick Wellnhofer <ni...@aevum.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@aevum.de

-- 
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