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 38325] New: - impossible to determine AUTH_TYPE of interpreted resources - no REDIRECT_AUTH_TYPE variable
Date Fri, 20 Jan 2006 03:15:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38325>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38325

           Summary: impossible to determine AUTH_TYPE of interpreted
                    resources - no REDIRECT_AUTH_TYPE variable
           Product: Apache httpd-2
           Version: 2.0.55
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_auth
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ms419@freezone.co.uk


It's not possible to determine AUTH_TYPE if the resource on which authentication
is defined is interpreted by a handler

I experienced this same problem a year ago -
http://thread.gmane.org/gmane.comp.apache.user/44276

Currently, my problem is determining the AUTH_TYPE in PHP scripts using the CGI
PHP server API

I define authentication on a PHP resource - the Gallery PHP web gallery, for
instance - http://gallery.menalto.com/

I then want to set the active Gallery user if appropriate HTTP authentication
has taken place. HTTP authentication is necessary to implement a WebDAV
interface - http://cgi.sfu.ca/~jdbates/moin/moin.cgi/Gallery&DAV

Using mod_php I can check the values of the REMOTE_USER & AUTH_TYPE environment
variables - using php-cgi I must check the value of the REDIRECT_REMOTE_USER
environment variable - but there's no REDIRECT_AUTH_TYPE variable, so it's
impossible to determine the AUTH_TYPE in this case

Using php-cgi the REMOTE_USER & AUTH_TYPE variables correspond to authentication
defined on the php-cgi interpreter

This bug presents a serious problem for implementing HTTP authentication in
Gallery, since many installations use the CGI PHP server API. I haven't yet
found a work-around

Many thanks!

Jack

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message