I have a .htaccess file with the following in it
AuthName "Username and password required"
AuthType Basic
AuthUserFile /home/john/www/.htpasswd
AuthGroupFile /dev/null
require valid-user
What I want to do is only allow access to a subdirectory rather than the directory that the htaccess file is in once they user has logged in.
Is this possible? If so how would I go about doing this?