Re[2]: [users@httpd] AuthzSendUnauthorizeOnFailure?

2019-10-02 Thread Jack Simmons
> The purpose of is to group things into one logical block. If you > want things to fail in order without checking other conditions, don’t use > requireAll? I am using RequireAll with two conditions. The first condition is "Require valid user". For the second one I have an environmental

Re: [users@httpd] AuthzSendUnauthorizeOnFailure?

2019-10-02 Thread Jack Simmons
* typo in the message above. I meant "HTTP 401 instead of HTTP 403". Additionally, I looked at the debug log right now. The thing is that if I will put just Require valid user in the RequireAll section, in the log I would see "denied (no authentocated user yet)". Yet if I will put "Require env

[users@httpd] AuthzSendUnauthorizeOnFailure?

2019-10-02 Thread Jack Simmons
Is it possible to force apache to return HTTP 401 instead of HTTP if any condition inside RequireAll fails? In known about AuthzSendForbiddenOnFailure, but it does opposite of what I need. - To unsubscribe, e-mail:

Re[2]: [users@httpd] Basic Authorization & autoindex enabling

2019-09-28 Thread Jack Simmons
Dude, what are you talking about? The user's credentials are encoded into the HTTP request header "Authorization". In my question I showed how one can unencode it and compare against part of the path at the same HTTP request. I already figured out how to solve my problem, BTW. I did it with

[users@httpd] Basic Authorization & autoindex enabling

2019-09-27 Thread Jack Simmons
Good day everyone! I've got a question related to Basic Authorization and Home directory detection. Namely, I want to configure the webserver in such a way that it allows to do autoindex if user is browsing their home directory. I tried to declare an environment variable first, but then