Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

apache-httpd configuration

Posted on 1997-08-22
1
Medium Priority
?
460 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
n3mtr earned 400 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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…
Suggested Courses

718 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