I also uploaded it to /public_html/ in case .htaccess interprets / as the web root, but the error remains. You have it the other way around, friend. dklynn 2011-01-19 02:37:24 UTC #4 jv, I'd take a close examination of http://www.euronet.nl/~arnow/htpasswd/documentation.html and change your require statement. They should - it's their job. More about the author
so what I have works for me. In my case echo getcwd(); got me the (wrong) relative path. I only added the .htpasswd to the web directory because that's what the tool instructions told me to. 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.
Advertisement Web Hosting News Silicon Valley Cozies Up to Washington, Outspending Banks by 2-1 Rackspace Builds on AWS Support Offering with Updated Compass Tool GoDaddy Site Builder to Help SMBs Create I'm just using it to block all search engine bots from accessing and crawling it. Why did my electrician put metal plates wherever the stud is drilled through? Any help/suggestions would be greatly appreciated.
When is it okay to exceed the absolute maximum rating on a part? I placed an index.html in that page as well. Will fiddle with permissions and hopefully it should all be a-OK once that's done. Htaccess Htpasswd In this case, I put it into the web root: /home/account-name/public_html/.passwd I made it an "hidden" file by prefixing it with a "." and this prevents it from being served up
Promoted by Recorded Future Do you know the main threat actor types? We're supposed to put the .htaccess (not the .htpasswd) in the directory that needs to be protected. share|improve this answer answered Apr 6 '11 at 16:25 paulmorriss 14.5k12648 I thought the path I had was odd. Get More Information What is the difference between "al la domo" and "en la domon"?
It's probably something blindingly obvious. Create Htpasswd File How to find positive things in a code review? Finding the distance between two points in C++ Can I get a `du` grouped by month? Kiel traduki "sign language" respekteme?
Heisenberg's Uncertainty Principle Spaced-out numbers Inconsistent equations Can a GM prohibit players from using external reference materials (like PHB) during play? Think of /dev/null as a bottom-less trashcan. .htpasswd Permissions I meant: AuthType Basic AuthName "PasswordRequired" AuthUserFile /home/philip/.htpasswd Require User Philip 136c136 < AccessFileName /var/www/.htaccess---> AccessFileName .htaccess 167c167 < HostnameLookups On---> HostnameLookups Off 282,290d281< < #Password protect site <
Get 1:1 Help Now Advertise Here Enjoyed your answer? my review here share|improve this answer answered Nov 24 '15 at 11:58 Maha Dev 1,774414 add a comment| up vote 1 down vote All of the standard answers (full path, correct format, etc) weren't Maybe something with the hosting service? .htaccess internal-server-error .htpasswd share|improve this question asked Mar 24 '13 at 11:52 no0ne 82161733 Suggestion: find your error log file and learn how Make an ASCII bat fly around an ASCII moon How can I remove a scratch from a mirror? .htaccess Password Generator
current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Htaccess Password Protect Directory tail -f /usr/local/apache/log/error_log Also make sure that your .htaccess file does not contain any php flag value like php_value* or php_flag* On Demand Linux Talent VIPoint | http://www.vipointsolutions.com Better English. If you do not have access to it, check the following: is this technique supported by the server? (ask your provider or admin) is AuthUserFile correct?
You will need to find out from your hosting company where the files really live. Peter Reply With Quote 0 01-17-2010,05:44 PM #3 scutterman View Profile View Forum Posts View Forum Threads Newbie Join Date Jan 2010 Location Cornwall, UK Posts 5 The support I'd think it should be something like AuthUserFile home/folder/.htpasswd –blamonet Mar 24 '13 at 11:54 Thanks blamonet, but it didn't help. navigate to this website I dug a little trough the FAQ of 1and1.com and can understand your frustation.
Is it illegal for regular US citizens to possess or read the Podesta emails published by WikiLeaks? All rights reserved. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Web Hosting Talk Newsletters Subscribe Now & Get The WHT Quick Start Guide!
Find and display best Poker hand Bravo For Buckets! Linked 23 .htaccess/.htpasswd 500 Internal Server Error Related 63How to remove .htaccess password protection from a subdirectory17htaccess doesn't work - always wrong password0.htaccess & .htpasswd equals 500 error1.htaccess internal server error Log out and login again... The time now is 09:34 PM. © WebHostingTalk, 1998.
Advertisement Register for Free!