6.0.0-git
2018-12-15

[#8758] Permit Basic Authentication using CGI
Summary Permit Basic Authentication using CGI
Queue Horde Framework Packages
Queue Version Git master
Type Enhancement
State Accepted
Priority 1. Low
Owners
Requester jon (at) spriggs (dot) org (dot) uk
Created 2009-12-07 (3295 days ago)
Due
Updated 2010-01-26 (3245 days ago)
Assigned
Resolved
Milestone
Patch Yes

History
2010-01-26 22:34:18 Jan Schneider Comment #2
State ⇒ Accepted
Version ⇒ Git master
Reply to this comment
We should use Authorization, because that's what we use everywhere else.
2009-12-07 20:52:50 jon (at) spriggs (dot) org (dot) uk Comment #1
Type ⇒ Enhancement
State ⇒ New
Priority ⇒ 1. Low
Summary ⇒ Permit Basic Authentication using CGI
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ Yes
New Attachment: diff.txt Download
Reply to this comment
By applying the attached patch to /framework/Rpc/lib/Horde/RPC.php and 
adding in to the horde website root's .htaccess the following line

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

This patch is in line with the document at 
http://wiki.horde.org/HTTPAuthHowTo which states this will permit a 
CGI-BIN'd instance of PHP to convert the basic authentication to a 
variable it can use.

Alternatively, it may be worth updating the wiki to show a better 
line, if (for example) the existing code I've patched is already using 
a line like:

RewriteRule .* - [E=Authorizaton:%{HTTP:Authorization},L]

Either way, this should probably be documented somewhere in the docs 
to show this could be useful.

Saved Queries