Jump to content
  • 0
Timrek87

apache webserver and htaccess

Question

I created an apache webserver which works perfectly, but now I want to password protect my website as I am putting my Family Tree on it.  I found htaccess as a solution.  I created the .htaccess and .htpasswd files and placed them in the folder I need them to be in.  But when I click on the link on my homepage to get there I get an Internal server error.  Not sure what I'm doing wrong.  Can you help?

Thank you,

Tod

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

If you only made changes to the htaccess and htpasswd files then it's likely something you did has broken the server. 

I recommend reverting the changes and then slowly add your changes again. Constantly check to see if something breaks.

You can also view Apache log for errors, typically located at /var/log/apache2/access.log

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×