Internal Server Error 500 Htaccess Password
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us .htpasswd permissions Learn more about Stack Overflow the company Business Learn more about hiring developers
500 Internal Server Error .htaccess File
or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow htaccess internal server error 500 Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up .htpasswd and .htaccess - internal server error up
Internal Server Error Htaccess
vote 11 down vote favorite 1 hoping someone might be able to help figure out the problem here! I've been googling for over 2 hours and nothing I try is working... I want to password protect my website, but as soon as I add in the .htpasswd and .htaccess files I get a server error: Internal Server Error The server encountered an internal error or misconfiguration and .htaccess password generator was unable to complete your request. Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Here is the code I'm using: .htaccess AuthType Basic AuthName "Top Secret for SongKick eyes only." AuthUserFile /webroot/.htpasswd require valid-user .htpasswd songkick:isS1rCTQE/p8E I've also tried AuthUserFile /.htpasswd (ie. without "webroot", which is the name of the folder it appears to be in in File Manager) but this doesn't work either. I'm using GoDaddy hosting btw, if that makes a difference. Any help is much appreciated - I'm not a developer so don't understand a lot of the terms used in many of the help articles! .htaccess .htpasswd share|improve this question edited Mar 18 '13 at 12:00 JakeGould 16.7k62951 asked Mar 18 '13 at 11:56 Leanne Beesley 56113 It should show detailed error report in apache log file, check it first. –aram90 Mar 18 '13 at 11:59 add a comment| 4 Answers 4 active oldest votes up vote 21 down vote You must supply the complete path to your password file, not the
Forums Programming Discussion .htaccess and .htpasswd throwing internal server 500 error If this is your first visit, be sure to check out the
Htaccess Htpasswd
FAQ by clicking the link above. You may have to register before you
Create Htpasswd File
can post: click the register link above to proceed. To start viewing messages, select the forum that you htaccess password protect directory want to visit from the selection below. Results 1 to 10 of 10 Thread: .htaccess and .htpasswd throwing internal server 500 error Tweet Thread Tools Show Printable Version Subscribe to this http://stackoverflow.com/questions/15476252/htpasswd-and-htaccess-internal-server-error Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 01-17-2010,01:23 PM #1 scutterman View Profile View Forum Posts View Forum Threads Newbie Join Date Jan 2010 Location Cornwall, UK Posts 5 .htaccess and .htpasswd throwing internal server 500 error Hello I've been trying to get this to work all afternoon. I've created a http://www.webhostingtalk.com/showthread.php?t=919628 .htaccess and a .htpasswd file, both using my hosting's tool, uploaded them, and I get an error when I try to view the directory: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. I've tried talking to the support team, but they didn't seem to be able to help. .htaccess file contents: Code: AuthName "Please log in" AuthType Basic AuthUserFile /customers/scutterman.com/scutterman.com/httpd.www/kkids/construction/landing/.htpasswd require valid-user The .htpasswd file is in the same directory, like the tool told me to. A long time ago I set up another .htaccess protected directory and that still works. I checked this file against that one and I can't see anything different except the actual directory it's looking for the .htpasswd file in. Only thing I can think of is that the file is saved using the wrong encoding (I know it needs to be uploaded using an ascii transfer) but I tried with ansi and utf-8 and nothing changed. Any help/suggestions would be greatly appreciated. Thanks in Advance -Scut Reply With Quote 0 01-17-2010,04:51 PM #2 foobic Vi
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance https://www.experts-exchange.com/questions/28486676/htaccess-password-not-working-Internal-Server-Error.html Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > .htaccess password not working: Internal Server Error Want to Advertise Here? Solved .htaccess password not working: Internal Server Error Posted on 2014-07-30 Linux Linux Distributions Linux internal server Security 5 Verified Solutions 15 Comments 752 Views Last Modified: 2014-08-25 Hi, I'm trying to use .htaccess password to protect my directory and it's sub directories. I have this in my .htaccess file for the directory: AuthName "Restricted Area" AuthType Basic AuthUserFile /home/htpass/.htpasswd AuthGroupFile /dev/null require valid-user Select all Open in new window for my .htpasswd I internal server error have: vkimura:qe723jsfyweFke Select all Open in new window But when I go to the directory I get an "Internal Server Error". When I delete the .htaccess file from the directory then it becomes a Forbidden error. So I'm assuming something is wrong with the .htaccess file. How can I password protect my directory recursively using .htaccess? Thank you and Father bless<>< 0 Question by:Victor Kimura Facebook Twitter LinkedIn Google LVL 4 Best Solution bykyanwan In your httpd.conf - make sure you: AllowOverride AuthConfig for the directory you're trying to activate Auth for. [ The internal server error? If you go to error.log, you might see a "not Go to Solution 15 Comments LVL 11 Overall: Level 11 Linux 1 Linux Distributions 1 Message Active today Assisted Solution by:Edwin Hoffer2014-07-30 Update your .htaccess code to this: AuthType Basic AuthName "restricted area" AuthUserFile /home/htpass/.htpasswd require valid-user Select all Open in new window And generate htaccess password from here: http://www.htaccesstools.com/htpasswd-generator/ Also you can check these articles: http://davidwalsh.name/password-protect-directory-using-htaccess http://css-tricks.com/easily-password-protect-a-website-or-subdirectory/ Thanks Edwin 0 LVL 13 Overall: Level 13 Linux 3 Linux Distributions 1 Message Assisted S