Solved

apache-httpd configuration

Posted on 1997-08-22
1
408 Views
Last Modified: 2013-12-25
I need to configure apache-httpd for protecting (to demand
a login and password) when accessing some script or page.
I know that for CERN-httpd there is "Protection" in .conf
files, but don't know how to set it in apache. Can somebody
help me???
0
Comment
Question by:pacho
1 Comment
 
LVL 2

Accepted Solution

by:
n3mtr earned 200 total points
ID: 1854784
It involves setting up three files: .htaccess which resides in the direcory you want to protect, .htpasswd which holds the username and passwords, and an optional .htgroup which makes groups of users.  You can find out how to set them up at these locations:
http://www.apacheweek.com/features/userauth
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html

comment back if you have any problems
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

861 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now