6.0.0-alpha10
5/14/25

[#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 12/07/2009 (5637 days ago)
Due
Updated 01/26/2010 (5587 days ago)
Assigned
Resolved
Milestone
Patch Yes

History
01/26/2010 10:34:18 PM 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.
12/07/2009 08:52:50 PM jon (at) spriggs (dot) org (dot) uk Comment #1
Priority ⇒ 1. Low
New Attachment: diff.txt Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Permit Basic Authentication using CGI
Type ⇒ Enhancement
State ⇒ New
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