I need to set up an .htaccess file in a root folder that requires a username and a password, and will direct the user to a different folder depending on the username and password entered.
E.g.:
- The user goes to www.example.com/
- They enter their username (bobsmith) and password (923r9w8c2w)
- They are redirected to www.example.com/bobsfolder/
- If a user goes to www.example.com/bobsfolder/ directly, they