Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> I Need A Hand With Some Htaccess Login Stuffs!
shadowx
post Jul 17 2007, 11:52 AM
Post #1


A clever man learns from his own mistakes, a WISE man learns from those of OTHERS
*********

Group: [HOSTED]
Posts: 978
Joined: 12-April 06
From: Essex, UK
Member No.: 21,719



QUOTE
Hi all.

Im currently trying to get a htaccess/htpasswd login system to work. Its extremely basic, just one username and one password. my htaccess code is as follows:

CODE
AuthType Basic
AuthName "Login"
AuthUserFile "/home/MYUSERNAME/public_html/***/***/.htpasswd"
require valid-user


obviously the stars mask the real directory


My testing code for my password file which is located in the above directory is as follows:
CODE
login1:login2


login2 is the password and im fairly sure i got the syntax right "username:password" is all right?


EDIT:
I think ive cracked it. I wont delete the thread, ive quoted my problem and shall now post my solution for others to learn from!

..this is so stupid... I came accross a website..it told me to use a tool to make my usernames and passwords and encrypt them. I thought this would ake things harder as i would need some sort of key to decrypt them. How wrong i was. The website is http://www.yolinux.com/TUTORIALS/LinuxTuto...Protection.html the bit im referring to is when it mentions using the exe file to create the htpasswd file. If you follow those steps you will get a useable username and password which you can copy and paste into the htpasswd file.

So now it all works. I quoted myself so you dont all think im harvesting credits, i dont need them anyway tongue.gif Learn from my mistake if you get stuck like this!

This post has been edited by shadowx: Jul 17 2007, 11:22 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Lend A Helping Hand To The Lowly!(2)
  2. Creating A Php Login System Using Mysql(9)
  3. Is Wildcards Allowed In Htaccess?(0)
  4. Political Correctness Getting Ot Of Hand(15)
  5. Help Needed: Rewritting Uris From .htaccess(0)
  6. Complete Login System(57)
  7. Innovative Login System(18)
  8. Can't Login To Ftp [resolved](2)
  9. More Game Stuffs(2)
  10. Simple Login In Visual Basic 6(6)
  11. Login Script For Vbulletin.(9)
  12. Can't Login To Any Software On My Site(3)
  13. [chsupport #ecn-115724]: Ftp/cpanel Login Problem(7)
  14. I Hate Smokers(101)
  15. I Have Install Windows 2003 Server(4)
  1. A Very Timid Boy Asking For Advice About A Girl(24)
  2. Cant Login To Cpanel On A Just Made Account O_o(2)
  3. Computer Admin Login With Lost Password?(15)
  4. Smackdown Vs. Raw 2007 Question.(4)
  5. How To Put A Phpbb Login Box On Your Main Site.(18)
  6. User Login And Tracking(4)
  7. Cpanel Help, Trouble Logging In.(4)
  8. Php Simple Login Tutorial(63)
  9. Simple Php Login And Registration System(10)
  10. Ultima Online Graphics Tutorial(2)
  11. .htaccess(3)
  12. Win Xp Freeze At Login Screen(4)
  13. One Login Account At One Time(3)
  14. Cannot Login To Cpanel(7)
  15. Cpanel Login Details?(1)


 



- Lo-Fi Version Time is now: 6th September 2008 - 05:32 PM