PDA

View Full Version : sitemember login tool


pch
07-07-03, 11:34 AM
Hi, i am searching for a script or tool that makes all pages of my site only availeble for members who login. Important is that seacheniges can not get in.

Thanks in advance
Kind regards, Pauline

darkcarnival
07-07-03, 12:11 PM
well you can basically make a folder called "Member" and make a .HTACCESS file if you need help if that tell me.

pch
07-07-03, 01:41 PM
Well i have found something but i have not got it to work. If you can help me with this that would be very nice.

This is what i did :


.htaccess

AuthUserFile /data/perso/p/c/h/pch/login/.htpasswd
AuthGroupFile /dev/null
AuthName login
AuthType Basic
<Limit GET>
require user pch
</Limit>

----------------------------------------------

.htpasswd

pch:Jajnr8ggBUn3M

---------------------------------------------------

I get the give network password window. but the password is not accepted : It says:

Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Thanks, Pauline

darkcarnival
07-08-03, 09:22 AM
hmm well it should work. the place im at has a this featue on my server admin so i really dont work with .htaccess nemore but are you sure the password is encrypted correctly that could be the problem.

pch
07-08-03, 12:25 PM
Hi, i found out that my server also has this feature and this worked in no time perfectly.
Thank you for your help,
Pauline

darkcarnival
07-08-03, 01:28 PM
np