Testing the Directory Access
Now you can go to your web browser and see if your .htaccess file works.
- Enter a url in your directory. For example, you could enter
http://www.uoregon.edu/~username/111/
Your browser will prompt you to enter the username and password.
- Enter the username and password that you set up in the first part of
this exercise (username: 111, password: digits 4-6 of your student id #.) and click OK.
If you are successful, you will see the web page you were trying to access. If you get an error message, make sure you entered the name and password correctly, and check that the .htaccess file contains the correct username in the require user line.