[Tickets #8758] Permit Basic Authentication using CGI

bugs at horde.org bugs at horde.org
Mon Dec 7 20:52:50 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8758
------------------------------------------------------------------------------
  Ticket             | 8758
  Created By         | jon at spriggs.org.uk
  Summary            | Permit Basic Authentication using CGI
  Queue              | Horde Framework Packages
  Version            | HEAD
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | diff.txt
------------------------------------------------------------------------------


jon at spriggs.org.uk (2009-12-07 15:52) wrote:

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.






More information about the bugs mailing list