On Fri, Mar 22, 2013 at 2:32 PM, Robert Rothenberg <rob...@gmail.com> wrote:
> I've not gotten replies to my posts regarding HTTP authentication, so I'm
> starting a separate thread.
>
> I am running a Catalyst app as a separate server with a reverse proxy.
>
> If I pass the REMOTE_USER to the Catalyst app via a header such as
> X-Proxy-REMOTE_USER, how do I set the REMOTE_USER value for in the Catalyst 
> app?
>

Is this FastCGI on Apache?? If so, the issue is not Catalyst bu that
Apache FastCGI does not pass auth headers by default. You must do
something like:

   RewriteEngine On

   RewriteCond %{HTTP:Authorization} ^(.+)
   RewriteRule ^(.*)$ $1 [E=HTTP_AUTHORIZATION:%1,PT]

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to