I created a .htaccess and .htpasswd in my htdocs directory in order to password protect my website. I generated the .htpasswd file using this
my .htaccess file is as follows
AuthName “Login To The Wiki”
However, when I access my website and enter in my login info, the page redirects to the 500 error page. What is causing this and how can I help fix this?
So you see a HTTP ERROR 500 page after you’ve logged in? That sounds like the password protection is working just fine, but your website code itself is breaking.
If so, this is probably where you should start:
I should’ve specified this, my apologies. When I have password protection disabled and the default .htaccess file the website works totally fine. However when I have my custom .htaccess and .htpasswd files the website redirects to the 500 error page after logging into the website, I changed none of the code of the actual site outside of the .htaccess and .htpasswd files.
Hmm, I don’t know what could be causing that. But could you please answer the questions of the topic template so it’s easier to start looking for causes?
My website URL is:
What I’m seeing is:
I’m using this software:
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.