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 |
State ⇒ Accepted
Version ⇒ Git master
Priority ⇒ 1. Low
New Attachment: diff.txt
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Permit Basic Authentication using CGI
Type ⇒ Enhancement
State ⇒ New
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.