LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   apache web page authentication problem (https://www.linuxquestions.org/questions/linux-general-1/apache-web-page-authentication-problem-427733/)

jitheshmurali 03-23-2006 01:06 PM

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.

zeitounator 03-24-2006 09:16 AM

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.

leosgb 04-01-2006 02:33 PM

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.

gilead 04-01-2006 02:51 PM

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:
Code:

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?


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