![]() |
|
.htaccess and .htpasswd help - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141) +---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50) +---- Thread: .htaccess and .htpasswd help (/showthread.php?tid=5383704) |
.htaccess and .htpasswd help - ttrip420 - Aug 23, 2016 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. * - kznamst - Aug 23, 2016 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/ * - Rushax - Aug 23, 2016 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* - ttrip420 - Aug 24, 2016 @WebDeveloper Ive encrypted it and i still get 500 internal server error? * - Squito - Aug 24, 2016 Post the content of your .htaccess file here. * - SIM-2848947 - Aug 24, 2016 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. * - Rushax - Aug 24, 2016 Make sure the file path inside the .htaccess to get to the .htpasswd is correct too. |