htaccess file protecting but no pass prompt
Hi I have the following in a .htaccess file:
AuthName "restricted area"
this works in making the directory private, however I get a 403 error and no password/user pop up appears to even give me the chance? Any ideas as to what I am doing wrong, both htaccess and htpasswd are together in the directory I want to protect.
The path for AuthUserFile is probably incorrect. Yours reads '/web/clients/', which means that the directory '/web/' should reside in the root directory of the server, which would be unlikely unless you're running a private server. Locate the actual path to your web files and you should be able to construct the correct path to your .htpasswd file, or simply make sure that the .htpasswd file resides in the same directory as the .htaccess file and remove the path information completely.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)