Questions tagged [mod-auth-form]

This Apache 2.3 module allows the use of an HTML login form to restrict access by looking up users in the given providers. HTML forms require significantly more configuration than the alternatives, however an HTML login form can provide a much friendlier experience for end users.

mod_auth_form is an apache module up to 2.3.

This module allows the use of an HTML login form to restrict access by looking up users in the given providers. HTML forms require significantly more configuration than the alternatives, however an HTML login form can provide a much friendlier experience for end users.

HTTP basic authentication is provided by mod_auth_basic, and HTTP digest authentication is provided by mod_auth_digest. This module should be combined with at least one authentication module such as mod_authn_file and one authorization module such as mod_authz_user.

Once the user has been successfully authenticated, the user's login details will be stored in a session provided by mod_session.

6 questions
2
votes
2 answers

Apache2 mod_auth_form too many redirects under Location

I am trying to build a Proxy HTTP Authorisation page using mod_auth_form My goal is to have a single Auth page in the DocumentRoot directory, then once the user is connected, just Proxy all routes to the "real" application, running on localhost with…
Flo Schild
  • 5,104
  • 4
  • 40
  • 55
1
vote
1 answer

mod_auth_form apache error when restart apache2

I am trying to protect a folder in my directory under name admin and login from html form page. At my apache server I have edited the default-ssl.conf with following: AuthFormProvider file ErrorDocument 401…
A.V.
  • 155
  • 1
  • 1
  • 11
0
votes
1 answer

Premature End of Script Headers: CGI, Nagios, LDAP

I have both Nagvis and Nagios set up for LDAPS authentication. I have a monitor point (link) in Nagvis which brings me to the Service information in Nagios Core. When I click the link in Nagvis to get to Nagios I get the following…
user2423096
  • 53
  • 1
  • 8
0
votes
0 answers

Finding username with Apache and PHP (REMOTE_USER)

I use Apache's "mod_auth_form" module to authenticate users and it is working just fine. But now I need to figure out the user logged in to the web-site for some other application. I searched the web and found $_SERVER['REMOTE_USER'] variable in…
0
votes
1 answer

httpd/mod_auth_form How to display an error message on invalid credentials?

Using inline form with ErrorDocument 401, how can I get an error message to be displayed when the user fails to login? Expected features are to still work (e.g. login redirect). No login/logout URLs seen in user's browser. When the user logs out,…
Derek White
  • 320
  • 2
  • 13
0
votes
1 answer

httpd/mod_auth_form preserve & redirect with incoming uri after authentication

I am blocked with this issue: Dealing with: Apache httpd, Tomcat, mod_auth_form and mod_jk. issue: currently using mod_auth_form to load login page in apache httpd for authentication. so on redirecting to login page, the incoming uri is lost.…
Satheesh K
  • 132
  • 2
  • 16