cancel
Showing results for 
Search instead for 
Did you mean: 

Password protecting single webpage

jonathan276
Member

Hi I have built a site using EasySiteWizardProffessional and i would like to password protect a customer login page.

 

I dont have the website security as an option in the Website Center so I have created .htaccess and .htpasswd file and uploaded them into my directory using Website Management>file manager.

 

I have put the .htpasswd file in my private directory (private/.htpassword) and the .htaccess file in the public directory (public/) where all the web pages are listed.

 

My .htaccess file is

 

AuthUserFile /private/.htpasswd
AuthType Basic
AuthName "customer"
<Files "customerlogin.html">
Require valid-user
</Files>

 

However when I select the customer login page I get the following 500 internal server error message

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, or webmaster 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

 

Any ideas on why i am getting this message?

 

First time of trying this and just read what I can on this forum and websites

 

Jonathan

0 REPLIES 0