New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing authentication dialog with error handler "custom redirection" #1184

Open
patrickbssp opened this Issue Jun 14, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@patrickbssp

patrickbssp commented Jun 14, 2016

Dear all

I'm facing a problem which looks like a bug which was solved a while back (though I can't find the issue# anymore...), but seems to have reappeared between version 1.2.98 and 1.2.99:

I've defined a behavior rule of type Directory for a Web Directory called /service. For that, authentication validation mechanism is set to Plain text file, method to Basic, realm, userlist and password file are supplied.

Everything works as supposed up to this point: trying to open the URL opens an authentication dialog. Cancelling the dialog leads to the internally generated error 401 page (authorization required).

Now, when changing the error handler from Default handlers to Custom redirections and trying to redirect error 401 to a custom page (e.g. /401.html, type internal), the authentication dialog is skipped and the redirection page is shown immediately, without ever having the chance to provide the credentials.

As mentioned, earlier versions showed the expected behavior. I've tested versions 1.2.1, 1.2.2, 1.2.98 successfully, but couldn't find any working version thereafter (incl. the latest version from the git repo).

Any idea what the problem could be?

Thanks in advance & best regards,

Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment