Find the answer to your Linux question:
Results 1 to 2 of 2
I'm trying to configure my apache (version 2) so that after 3 login attempts with htaccess it automaticly shows a 401 error page. Now you can try to login forever ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    1

    [Apache] show 401 error after 3 login attempts


    I'm trying to configure my apache (version 2) so that after 3 login attempts with htaccess it automaticly shows a 401 error page. Now you can try to login forever which is off course not ideal.

    I thought this was a default setting but apparently it isn't.

  2. #2
    Just Joined!
    Join Date
    Oct 2007
    Posts
    37
    Make sure you include httpd-multilang-errordoc.conf in your config.
    And that is points to a valid error page like:
    HTTP_UNAUTHORIZED.html.var

    I'm not sure if apache 2 includes this option as a default or if you need to explicitly include that conf file as part of the conf.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •