Solved

Removing .htaccess un/pw prompts from certain sites

Posted on 2004-04-14
4
266 Views
Last Modified: 2010-03-04
Having little and less knowledge of .htaccess structure and functionality, I have been assigned to disabled the password prompting for one particular site on our server.  However, A) the .htaccess file is written in Perl, and B) I am not familiar enough with the syntax and functionality to make an assessment of what do do.

(note: we're running Apache 2.0.4)

There is also a htpasswd/ folder with 2 password files inside of it, and a separate htpassword file.  Here is a link to the file: http://www.brillohead.net/htsample.txt.

What can be changed or removed to not have a certain site have password prompting anymore?
0
Comment
Question by:ChefDavid
[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
  • 2
4 Comments
 
LVL 3

Assisted Solution

by:shaggyb
shaggyb earned 100 total points
ID: 10829863
you need to go into your httpd.conf file

and under the website... remove the authconfig directive to completely remove login prompts

0
 
LVL 15

Accepted Solution

by:
samri earned 400 total points
ID: 10831923
hi ChefDavid,

You may wish to browse to Apache FAQ (http://httpd.apache.org/docs/misc/FAQ.html).  There is a section that discuss about providing authentication for remote user, while allowing local user without any password.

The URL is : ttp://httpd.apache.org/docs/misc/FAQ.html#remote-auth-onlyDeny from all

Allow from .domain.com
AuthType Basic
AuthUserFile /usr/local/apache/conf/htpasswd.users
AuthName "special directory"
Require valid-user
Satisfy any

Briefly, you may need to adjust the "Allow from .domain.com" to match the domain/IP address that you wish to exclude from the authentication prompt.

Allow from .yourdomain.com <--- will cause user from yourdomain.com to pass (the IP need to have PTR record define)
Allow from 123.123 <---- people from 123.123.x.x network
Allow from 123 <-- pople from 123.x.x.x network.

hope this would help.
0
 
LVL 15

Expert Comment

by:samri
ID: 10831931
0
 

Author Comment

by:ChefDavid
ID: 10835436
I actually just removed the .htaccess file from the domain's root folder, and problem solved.  However, I have much to learn so your answers will provide me with further guidance.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 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