You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by tr...@apache.org on 2002/03/11 18:33:22 UTC

Re: mod_actions/8711: HTTP authentication variables not propogated to Action scripts

[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]


Synopsis: HTTP authentication variables not propogated to Action scripts

State-Changed-From-To: open-analyzed
State-Changed-By: trawick
State-Changed-When: Mon Mar 11 09:33:22 PST 2002
State-Changed-Why:
A bit of progress on this PR:

In Apache 1.3, ap_add_common_vars() sets REMOTE_USER and AUTH_TYPE from c->user and c->ap_auth_type, whereas
in Apache 2.0, ap_add_common_vars() sets REMOTE_USER and
AUTH_TYPE from r->user and r->ap_auth_type.
But mod_actions runs the script as a subrequest, and 
r->user and r->ap_auth_type aren't set there.

Hopefully this can get resolved in the next few days.

Thanks for your report.