Solved

apache-httpd configuration

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
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.
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.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

751 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