Prof. Don
02-23-2006, 07:29 PM
The first page on my site "spicyseniors.com" requires user to select "VISITOR" or "MEMBER".
If they select "VISITOR", They are sent to my subscribe page.
If they select "MEMBER" I want them to type in their password.
Here is copy of FutureQuests instructions for doing this.
----------------------------------------------------
Password protect single files
How do I password protect part of my web site?
Note: You will need to make slight modifications to restrict it to protect only one file.
The easiest way to do this is to place the "require" line within <FilesMatch>
For: Example:
AuthUserFile /big/dom/xdomain/protect/passwords
AuthName "Restricted_Access"
AuthType Basic
<FilesMatch mypage.html> <Replace mypage.html with MemberSite.html>
require user username
<.FilesMatch>
---------------------------------------------------------------------
I was told to put the above code in an .htaccess file.
How and where do I do this?
I am also open to a better way to handle this on my
website: www.spicyseniors.com/
If they select "VISITOR", They are sent to my subscribe page.
If they select "MEMBER" I want them to type in their password.
Here is copy of FutureQuests instructions for doing this.
----------------------------------------------------
Password protect single files
How do I password protect part of my web site?
Note: You will need to make slight modifications to restrict it to protect only one file.
The easiest way to do this is to place the "require" line within <FilesMatch>
For: Example:
AuthUserFile /big/dom/xdomain/protect/passwords
AuthName "Restricted_Access"
AuthType Basic
<FilesMatch mypage.html> <Replace mypage.html with MemberSite.html>
require user username
<.FilesMatch>
---------------------------------------------------------------------
I was told to put the above code in an .htaccess file.
How and where do I do this?
I am also open to a better way to handle this on my
website: www.spicyseniors.com/