Solved

Apache Authentication using a login form

Posted on 2008-10-27
3
326 Views
Last Modified: 2012-08-14
Hi,
A client has setup a website that has restricted zones based on apache authentication. The type where a browser login box pops up when a user tries to browse to a restricted page/directory.

Is it possible to set this up so it uses a Login form rather the the browser dialogue?
If so how?

Regards
Mitch
0
Comment
Question by:SM17CH
3 Comments
 
LVL 2

Author Comment

by:SM17CH
ID: 22818993
Ive found this: http://httpd.apache.org/docs/trunk/mod/mod_auth_form.html
Is it the best option?
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 22825011
it's not that bad :)
But IIRC it's a server solution and your application has no or only limited access to the login data.
0
 
LVL 1

Assisted Solution

by:frandshansen
frandshansen earned 250 total points
ID: 22845028
Is the "apache authentication" made with .htaccess or with some webscript querying for the username/password using a browser dialogue?

If the first thing is the case, every user is shown the same content when they log in, and the only good way of making it different is coding some PHP script to take care of it.

If you are using the other way, well then it should be pretty easy to change the code to being a <form> instead of a browser dialogue.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft Edge 9 101
Apache / XAMPP  authorisation 10 58
Apache error.log 19 43
pagenation logic how it is working in my code 1 32
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question