koala
10-20-2001, 09:44 AM
As I understand things, the .htaccess file, when placed in a directory, requires a valid user/pass to access that directory, and that this information is stored in an .htpasswd file.
Does anyone know of a script which can also read the .htpasswd file to verify the login information, but which can be used to protect individual pages (eg: protected.html) instead of the entire directory?
I use Account Manager Lite (http://cgi.elitehost.com/) to allow site visitors to register. Their login information is stored in .htpasswd and retrieved by .htaccess.
This works fine, but doesn't allow me to protect individual pages, only the directory containing them.
Can anyone help here?
Thanks
Simon
Does anyone know of a script which can also read the .htpasswd file to verify the login information, but which can be used to protect individual pages (eg: protected.html) instead of the entire directory?
I use Account Manager Lite (http://cgi.elitehost.com/) to allow site visitors to register. Their login information is stored in .htpasswd and retrieved by .htaccess.
This works fine, but doesn't allow me to protect individual pages, only the directory containing them.
Can anyone help here?
Thanks
Simon