Is there a way to modify the .htaccess file such that anyone entering a password protected directory (using .htaccess authentication) is sent to a specific URL within the directory?
For example, say the URL to the password protected directory is:
http://www.myhome.com/members/
And you want all persons first entering that directory first sent to welcome.html regardless of the URL they enter for inside the directory. So if for example, they enter:
http://www.myhome.com/members/
http://www.myhome.com/members/home.html
they are automatically redirected to welcome.html. But not if they follow links within the password protected directory.
Thanks... Dan
For example, say the URL to the password protected directory is:
http://www.myhome.com/members/
And you want all persons first entering that directory first sent to welcome.html regardless of the URL they enter for inside the directory. So if for example, they enter:
http://www.myhome.com/members/
http://www.myhome.com/members/home.html
they are automatically redirected to welcome.html. But not if they follow links within the password protected directory.
Thanks... Dan