Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have authenticated my web site with Ldap server. Authentication is working fine. Every time i visit the web site, it pop-up's dailog box for user name and password.

Now, I want to authenticate using a FORM instead of dailog box. I want to use AuthType Form option in Apache.

Please do the needful

Thanks shankar Jadapa

share|improve this question

closed as unclear what you're asking by Falcon Momot, Bryan, Jenny D, Nathan C, kce Jul 6 '13 at 23:56

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

There is no such thing as AuthType Form. It's either Basic or Digest. See the documentation for more details.

You would normally implement form based authentication in your application, with three parts:

  1. A login form for the user to fill out with their username and password.
  2. A page that the form is submitted to that returns a cookie to the browser
  3. A check at the top of every request that checked for that cookie and redirect to the login page if it isn't there.

There is nothing in a standard Apache distribution to do this for you.

Edit: Seems there is a mod_auth_form in Apache 2.3, which isn't released yet.

share|improve this answer