Solved

apache-httpd configuration

Posted on 1997-08-22
1
451 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 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

624 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