[Pro] Password Protected Page

I want to protect with a password a specific page on my website.
I want to use htaccess
I’ve tried setting this up but am not successful.

Here is my code:

AuthType Basic
AuthName “restricted area”
AuthUserFile /http://www.smartytest.com/Carol/clients.php/.htpasswd
require valid-user

Yes I have a htpasswds file

The page I want to protect is clients.php

Anyone?

Billy


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Here’s a set of directions to either protect a single file, multiple files, or a directory. (I thought that this could only work with a directory, not a single file. You learn something every day.)

Walter

On Jan 15, 2021, at 5:21 PM, billy kimmel email@hidden wrote:

I want to protect with a password a specific page on my website.
I want to use htaccess
I’ve tried setting this up but am not successful.

Here is my code:

AuthType Basic
AuthName “restricted area”
AuthUserFile /http://www.smartytest.com/Carol/clients.php/.htpasswd
require valid-user

Yes I have a htpasswds file

The page I want to protect is clients.php

Anyone?

Billy


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options