On 30.05.2007 16:05, music wrote:
> With php I can access to AUTH_USER and REMOTE_ADDR to know the 
> authenticated user and the ip from which he come.
> With ruby there is available REMOTE_ADDR but not AUTH_USER.
> How can I access to the authenticated users?

Guessing that you are talking about CGI the value is likely accessible 
via ENV['AUTH_USER'] *if* the webserver you are using chose to put it 
there (i.e. if it supports authentication and the user actually 
authenticated).  Just guessing of course...

Kind regards

	robert