0

When I do not provide a require directive, apache 2.4 seems to ignore authentication and just lets the user access the url.

Is there way to turn off Authorization checks and only worry about Authentication? I want to know who is logging into my web page, while still allowing everyone access.

1
  • You want the username to appear in the logs or what are you exactly trying to accomplish? Commented Feb 3, 2014 at 22:48

2 Answers 2

0

I don't think that is possible and I don't think that is how this feature was intended. You might want to implement something like that in your webapp.

0

You could try https://httpd.apache.org/docs/current/mod/mod_authn_anon.html

To quote from that page:

Combined with other (database) access control methods, this allows for effective user tracking and customization according to a user profile while still keeping the site open for 'unregistered' users.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.