Re: Basic authentication with WEBrick?
- From: Eric Hodel <drbrain@xxxxxxxxxxxx>
- Date: Fri, 8 Sep 2006 03:03:32 +0900
On Sep 6, 2006, at 9:40 AM, vasudevram wrote:
We are using WEBrick on port 80 for development of a Rails app. [We may
move to Mongrel or some other option later].
Assume our host is http://my.host.com.
When we go to http://my.host.com, we get our Rails app's first page
shown correctly.
At this page we will have a login form with username and password.
But we also want to have one more level of authentication, before this
form is shown, a Web server authentication, i.e. when a user tries to
access the URL http://my.host.com, a login dialog should be shown
asking for a username and password - not the username and password of
the Rails app, but one that is handled by the WEBrick server - as I
think is possible (not sure) if using Apache as the web server. Is
there a way to do this with WEBrick?
http://microjet.ath.cx/webrickguide/html/HTTP_Authentication.html
--
Eric Hodel - drbrain@xxxxxxxxxxxx - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant
http://trackmap.robotcoop.com
.
- Follow-Ups:
- Re: Basic authentication with WEBrick?
- From: vasudevram
- Re: Basic authentication with WEBrick?
- References:
- Basic authentication with WEBrick?
- From: vasudevram
- Basic authentication with WEBrick?
- Prev by Date: [ANN] San Diego Ruby Users Group Meeting Tonight (Sep 7)
- Next by Date: Re: symbol tricks
- Previous by thread: Re: Basic authentication with WEBrick?
- Next by thread: Re: Basic authentication with WEBrick?
- Index(es):
Relevant Pages
|