How do I configure Plack to convert the contents of a request header to an environment variable
24 views
Skip to first unread message
Robert Rothenberg
unread,
Mar 22, 2013, 3:15:44 PM3/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to psgi-...@googlegroups.com
I am working on a Catalyst application that is accessed through a reverse proxy. The proxy passes X-Proxy-REMOTE_USER header to the application. Is there a way to get Plack to take pass the content of the header to the REMOTE_USER environment variable in the Catalyst application?
Ævar Arnfjörð Bjarmason
unread,
Mar 22, 2013, 4:38:20 PM3/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to psgi-...@googlegroups.com
Write a middleware to munge $env before the app gets to it.