.htaccess problems...
i have a file, .htaccess, in my main directory...it is set to restrict my folder called "restricted", and it does such...but i cant figure out the user name/password system, i have the .htpasswd file inside my "restricted" folder...the contents are username:password. i tried this...it doesnt work, all the words are undercase. i have encrypted the password, as hypermart tells me to. i tried putting the unencrypted (regular password) in the .htpasswd file, doesnt work. I tried putting the encrypted one (random numbers and letters), that doesnt work either. please help me.
Suzanne posted this at 02:24 — 11th June 2002.
She has: 5,507 posts
Joined: Feb 2000
.htpasswd has to be generated, I believe. I don't think you can just enter items into it. I'm not sure on the process, but I think it has to be done through a server action, can be done through a form (that accesses the server) or through telnet or SSH handling.
I believe that is the ONLY way to edit an .htpasswd file.
kb posted this at 22:37 — 11th June 2002.
He has: 1,380 posts
Joined: Feb 2002
hmmm...really...well, anybody else know how to? i am running on hypermart, and they told me to create it
kb posted this at 23:06 — 11th June 2002.
He has: 1,380 posts
Joined: Feb 2002
never mind everybody...i figured it out after a long time...you have to have the encrypted password in the file and type in the regular password at the prompt
argentavis posted this at 22:52 — 21st June 2002.
They have: 5 posts
Joined: May 2002
I am also on Hypermart, and my .htpasswdfile is working perfectly. I have made a page about it:
htaccess user authentication
Don't forget to upload an .htaccess file as text, not as binary.
http://freehosting.come.to
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.