Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-23-2006, 01:06 PM   #1
LQ Newbie
Registered: Mar 2006
Posts: 16

Rep: Reputation: 0
apache web page authentication problem

I authenticated a web page.but when i tried to access it the password which i have given is not accepted.Kindly give me asolution for this.
Old 03-24-2006, 09:16 AM   #2
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Since you specify 'apache' in your subject, I'll take the guess that your tried to password protect some directory on your webserver with a .htaccess file (or directly in httpd.conf).

- Which kind of authentication did you use (Basid, Digest...) ?
- How did your create and where did you store the user (and possibly group) credentials ?
- Can you paste the content of your .htaccess file (or the relevant part of your httpd.conf)
- If you are using .htaccess and that you're not in charge of the global server configuration, are you sure the admin did not disabled password protection on your directory ?

Anyway, more info needed to help you out.
Old 04-01-2006, 02:33 PM   #3
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
I am having a similar problem here. I want to have the password file somewhere that no user can read it but it only works when i have it set to 644. This way all users can read the file and I consider this as a security issue. So jitheshmurali, make sure your password file (that must be indicated in the .htaccess file) is set to 644.
Old 04-01-2006, 02:51 PM   #4
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
I have my apache 2 installed under /usr/local/apache2. Everything from there down is owned by the apache user and apache group with the permissions set to 0 for others. For example:
chown -R apache:apache /usr/local/apache2
chmod -R o-rwx /usr/local/apache2
Can you post any specific errors you were getting and what you did to set up authentication?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache not showing web page harisund Linux - Software 3 11-25-2005 12:31 PM
Apache web page not working fordb37 Linux - Newbie 1 02-24-2005 09:27 AM
web page with apache regnier Linux - Networking 3 02-15-2005 09:49 PM
Apache web page - refresh dvong3 Linux - General 7 06-26-2003 01:36 PM
Apache web page posting help SSBN Linux - Networking 7 04-28-2003 10:28 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration