LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-28-2006, 01:43 PM   #1
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Rep: Reputation: 30
Apache 2 is not working right when i try to authenticate users


I have edited .htaccess on the directory

Code:
AuthName "Entre com seu usuário e senha. Atenção, o acesso a esse site é restrito a pessoas autorizadas, respeite a privacidade dos outro!!!"
AuthType Basic
AuthUserFile "/var/www/ivan/.user.pwd"
Require valid-users
Then i have done

Code:
htpasswd2 -c /var/www/ivan/.user.pwd user
Tried to access but even trying the right password it gives me

Code:
Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
 
Old 03-01-2006, 02:22 AM   #2
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Allow valid-user, no 's'.
Also make sure AllowOverride is as you want it to be.
 
Old 03-01-2006, 06:06 AM   #3
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Original Poster
Rep: Reputation: 30
working
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Authenticate samba users against PAM yapp Linux - Networking 0 11-24-2005 06:59 AM
authenticate samba users using the NIS manojthakkar Linux - Networking 1 07-25-2005 08:48 PM
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 10:01 AM
ssh fails to authenticate some users cochoa Linux - Software 1 12-10-2004 08:43 AM
authenticate samba users using the NIS manojthakkar Linux - General 1 02-02-2004 03:25 PM


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

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