Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-02-2002, 02:41 PM   PM User | #1
stiffy_1
New to the CF scene

 
Join Date: Aug 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
stiffy_1 is an unknown quantity at this point
.htaccess help newbie

Im trying to setup pass protection on a website with .htaccess. I get the popup login/pass window but when I enter the 1 login/pass combo I have in my .htpasswd file, it acts like its an incorrect login. It just keeps prompting me for the password. Finally get an unauthorized error from server. I know I have the path to the .htpasswd set right. Could it be how the password is being encrypted?
stiffy_1 is offline   Reply With Quote
Old 08-02-2002, 05:44 PM   PM User | #2
Feyd
Regular Coder


 
Feyd's Avatar
 
Join Date: May 2002
Location: Los Angeles, CA Maxim: Subvert Society
Posts: 404
Thanks: 0
Thanked 0 Times in 0 Posts
Feyd is an unknown quantity at this point
Did you actually encrypt/hash the password?

Also note that going to your password protected URL with or without the WWW can often cause you to have to enter it twice, depending on the server configuration.

The fact that you are getting an authorization challenge at all means you are working, it is just a matter of finding out what is wrong with the user.

Also, in your htaccess, are you using require valid-user (which works for anybody in the htpasswd), or require username for individual user access only?
__________________
Moderator, Perl/CGI Forum
shadowstorm.net - subvert society
Feyd is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 01:02 AM.


Advertisement
Log in to turn off these ads.