Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues

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 02-04-2004, 08:07 PM   PM User | #1
Labbat
New to the CF scene

 
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Labbat is an unknown quantity at this point
' htpasswd '

Hello,
I recently set up my ".htaccess" at
http://142.59.59.29/www/admin/ << You DONT have to look if you dont want too

Now, I enter
"admin" as my username, and "k7YuHeFv"
(Without the quotes) as my password...

However, I came accross a tutorial site that had said it will encrypt your password for you if you type it in the box
So I typed in k7YuHeFv - and it said it had "encrypted" it
so it came out with this wLhGEkTk9tqkA

So then it said beneath that, make your htpasswd
file like this:

admin:wLhGEkTk9tqkA

then save it as htpasswd

So I did that, but for some reason it doesn't work on my login?
Does anyone know why this is occuring?
IE: Go to
http://142.59.59.29/www/admin/ if you want...
And enter admin as the username, and k7YuHeFv
As the password.... Notice it doesn't work....
Would anyone know why that is?
Do I need to change the wLhGEkTk9tqkA
to my actual password I want maybe?

Thanks

Last edited by Labbat; 02-04-2004 at 08:13 PM..
Labbat is offline   Reply With Quote
Old 02-05-2004, 03:21 PM   PM User | #2
firepages
Super Moderator


 
Join Date: May 2002
Location: Perth Australia
Posts: 3,896
Thanks: 5
Thanked 79 Times in 78 Posts
firepages will become famous soon enough
your server is apache on windows , you probably got the password hash from a site running *NIX , whilst htpasswd program is essentially the same on both , *NIX & win32 use different hashing algorithms.

as you have apache you probably have the htpasswd program in c:/program files/apache group/apache/bin/ (or similar)

use that to create your password files and they will work ( open a dos window and cd to the /bin directory and type `htpasswd --help` for more info )
__________________
resistance is...

MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
firepages is offline   Reply With Quote
Old 02-05-2004, 03:47 PM   PM User | #3
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,220
Thanks: 4
Thanked 80 Times in 79 Posts
Spookster will become famous soon enough
And is this doesn't seem to have anything to do with PHP let's move it to the Other Server Side Issues forum....
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster 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 09:43 AM.


Advertisement
Log in to turn off these ads.