Set Login prompt/re-authentication when 401 ErrorDocument is shown in Apache HTTPD.

Solution Verified - Updated -

Issue

  • When setting ErrorDocument 401 to a local document in apache, the configured ldap login is always skipped and the error page immediately loaded.
  • Expected behavior for the error page to only load in the event of a failed log in, and a login prompt to be shown.

Environment

  • Red Hat Enterprise Linux
    • 6.x, 7.x
  • Red Hat JBoss Web Server
    • 2.x, 3.x, 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content