[Catalyst] Passing REMOTE_USER to development server

Stephen Shorrock stephen.shorrock at gmail.com
Fri Mar 2 09:08:22 GMT 2012

Dear list,

I realise that this is a very basic question.

Using an older version of Catalyst (5.80007) I used  to start the
development server with:

REMOTE_USER=userid myapp_server.pl

and have available in the application userid via $ENV{REMOTE_USER}.
Having upgraded to 5.90010 this no longer appears to work nor does
attempting to access via $c->engine->env or $c->req->remote_user.

How can I set the remote user on development user startup and then how
should I access it in my controller?

Thanks in advance


More information about the Catalyst mailing list