httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [users@httpd] mod_auth_form questions
Date Fri, 21 Sep 2012 13:25:14 GMT
Any dev@ takers?  (Graham?)

On Wed, Sep 19, 2012 at 4:30 PM, Benson Margulies <bimargulies@gmail.com> wrote:
> 1: (why) do I need to specify the AuthName, Session, and authn
> provider params (e.g. DBD query) in both the location I am protecting
> and in the location that defines the form-login-handler?
>
> 2: I'd like to say that an entire logical tree is protected, and have
> a successful login redirect back to wherever the user tried to go in
> the first place. However, the doc seems to be telling me that I need
> to supply AuthFormLoginSuccessLocation with a specific URL in it.
>
> In other words, if I start out with
>
>  <Location /protectedStuff/>
>     AuthType form
>     ...
> </Location>
>
> and then I set up
>
> <Location /dologin.html>
>    SetHandler form-login-handler
>    ...
> </Location>
>
> and the user navigates to /protectedStuff/banannas.html, I'd like a
> successful login to redirect to that location, whereas if they
> navigate to /protectedStuff/kumquats.html, ditto.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Mime
View raw message