Authentication Error 500
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 Learn more about Stack Overflow internal server error htaccess htpasswd the company Business Learn more about hiring developers or posting ads with us Stack Overflow
Create Htpasswd File
Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of .htpasswd generator 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up .htaccess/.htpasswd 500 Internal Server Error up vote 23 down vote favorite 5 I'm working on blocking a folder
Htaccess Authentication
with .htaccess, which I've never used before, and I'm having some trouble. Here's what I have .htaccess (located in the folder I want blocked): AuthName "Username and password required" AuthUserFile /.htpasswd Require valid-user AuthType Basic .htpasswd (located at root, password is encrypted in actual file): tim:blah I'm getting 500 Internal Server errors with this and I can't figure out why. apache .htaccess share|improve this question asked Sep 27 '13 at 21:46 Tim Aych authuserfile 3752627 2 To you what is /.htpasswd, a file inside /home/youraccout/public_html or actually located on the main directory of the file system /? –Prix Sep 27 '13 at 21:51 What does your apache error logs say? –Jon Lin Sep 27 '13 at 21:52 I can't access error logs through my host =( and my .htpasswd file is in the uppermost folder I can access, it's not in my pubic_html folder –Tim Aych Sep 27 '13 at 22:04 add a comment| 4 Answers 4 active oldest votes up vote 53 down vote accepted Most likely problem is this line: AuthUserFile /.htpasswd This line should provide full filesystem path to the password file e.g. AuthUserFile /var/www/.htpasswd To discover your filesystem path, you can create a PHP document containing echo $_SERVER['DOCUMENT_ROOT']; share|improve this answer edited Nov 12 '15 at 15:14 Chuck Le Butt 19.7k30113179 answered Sep 27 '13 at 21:54 anubhava 380k32159231 .htpasswd is in the uppermost folder that I can access –Tim Aych Sep 27 '13 at 22:05 3 Also make sure .htpasswd is not writeable by group and others. –anubhava Sep 27 '13 at 22:07 4 Found the home path. My host kind of hides essential information from me. Thanks. –Tim Aych Sep 27 '13 at 22:
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/Security/Windows authentication impersonate=true giving 500 server error Windows authentication impersonate=true giving 500 server error [Answered]RSS 3 replies Last post Jul 20, 2010 11:51 PM by sansan ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Related Links GuidanceSamples Reply DeveloperDot... Member 2 Points 24 Posts Windows authentication impersonate=true giving 500 server error Jul 20, 2010 10:33 PM|DeveloperDotNet|LINK I'm http://stackoverflow.com/questions/19060586/htaccess-htpasswd-500-internal-server-error receiving the following error when I put
One games Xbox 360 games PC https://support.microsoft.com/en-us/kb/311766 games Windows games Windows phone games Entertainment All http://serverfault.com/questions/225201/apache-return-500-error-with-authentication-by-ldap-secure-port-ldaps Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security authentication error Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Band Microsoft authentication error 500 Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
Start 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 Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Apache return 500 error with authentication by LDAP secure port (ldaps) up vote 1 down vote favorite We have Linux RHEL6 with httpd 2.2.15, and after loged with LDAP username and password, apache return 500 error. Return this error only if you use ldaps (port 636), for ldap (port 389) works fine. With the follow configuration: