Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.htaccess and .htpasswd help

Ive tried to setup a .htpasswd login on my website but when i enter the correct password i get a 500 internal server error, can anybody help me pls. The link to the .htpasswd is www . cyka . us/tes/test/Tartarus.html and username and password are both test, delete spaces between periods.
You added your password in the .htpasswd in plain text(i mean like "test")? You have to generate it: http://www.htaccesstools.com/htpasswd-generator/
[Image: TrJCrgs.jpg]
admin:$apr1$PRjx2OdD$EVpwemvuX9/UYiHttHnER/

Is an example snippet of code that goes into the .htpasswd
Follows the order of 'username':'encryptedpassword' which in this example is:
admin:password

Also need to add in the .htaccess below for the correct path:
Code
AuthType Basic
AuthName "Private Area"
AuthUserFile /home/username/html/.htpasswd
require valid-user
Web Designer / Developer & SEO Expert.

View Work
Earn 10% of the job you refer me to!

Skype aerox.design


@WebDeveloper Ive encrypted it and i still get 500 internal server error?
Post the content of your .htaccess file here.
You see, Doctor, God didn't kill that little girl. Fate didn't butcher her and destiny didn't feed her to those dogs.
If God saw what any of us did that night he didn't seem to mind. From then on I knew... God doesn't make the world this way.
We do.
Make sure you haven't made it .htpasswd.txt
I know it's obvious but just check, it's the most common problem beginner problem when dealing with htaccess and htpasswd.
Make sure the file path inside the .htaccess to get to the .htpasswd is correct too.
Web Designer / Developer & SEO Expert.

View Work
Earn 10% of the job you refer me to!

Skype aerox.design




Possibly Related Threads...
Thread / Author Replies Views Last Post
by Dag0bertDuckMar 24, 2024 07:59 PM 4 217 Mar 24, 2024 07:59 PM
Last Post: memory
by MankOct 15, 2020 08:01 AM 4 146 Oct 15, 2020 08:01 AM
Last Post: Dolla$
by codasApr 18, 2020 05:54 AM 4 132 Apr 18, 2020 05:54 AM
Last Post: codas