On Feb 5, 10:53 am, KTU <ketuo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi
>
> I am using apache to authenticate on ruby application. Now how I can
> print out value for REMOTE_USER
> variable once authentication is done ?
I think request.headers() will give you an array of HTTP environment
settings, REMOTE_USER should be in that array.
See http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html
Allan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---