Apache auth with ruby and REMOTE_USER variable

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 ?

On Feb 5, 10:53 am, KTU [email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs