Array
University of Oregon

Create a 111 WebSite Folder on uoregon.edu

This is what you will do in your 111 lab week 1, with GTF assistance.

You do not have to complete these steps before your week 1 lab (but you are welcome to give it a try).

Follow these steps to create a 111 website folder on uoregon.edu.

  1. Login to shell.uoregon.edu by following these instructions. This connects you to the Unix shell on uoregon.edu, and your home directory.
    Windows Users: You must first download Putty. Then start Putty, and connect to shell.uoregon.edu.
    Mac Users: Start the Terminal app, and then use the ssh command to connect to shell.uoregon.edu.
  2. At the shell, enter this command: pwd
    The pwd command (print working directory) writes the full pathname of the current working directory.Memorize the path to your home directoryExample: /home7/susanQ/
  3. Follow theses steps to create your personal 111 website on the server.
    1. Copy this wget command:
      wget http://CIT:CIT@pages.uoregon.edu/michaelh/bin/111-setup.rb
      
    2. Paste the wget command into the shell, and hit Enter. This copies a program named 111-setup.rb into your home directory on the server.
    3. Verify that this file is in your home directory with this command:  ls
      ls is a shell command that lists the contents of the current directory.
    4. Run the program by typing this Unix command into the shell, and then hitting Enter:
      ruby 111-setup.rb
      
    5. When prompted to enter an .htaccess password, enter the middle three digits of your UO 95#.
      IMPORTANT! When you enter the three digits, they will not be echoed (i.e., displayed on the screen), for security.Just type in your three digits and then hit Enter.You will be asked to enter the digits one more time. Type in the digits again and hit Enter.
    6. Hit Enter to any remaining prompts to finish out this interactive script.

The Ruby program creates a web directory named 111 in your public_html directory on the uoregon.edu server.

The web directory on the server is password-protected by the htAccess protocol (hypertext-Access). To access your 111 website in a browser, you will have to authenticate using these credentials:

htAccess-userName: 111
htAccess-password: the middle three digits of your UO 95#


Test your 111 Website on the UOregon.edu Server

Open the following URL in Chrome, substituting your UO DuckID username for SusanQ’s:

http://pages.uoregon.edu/susanQ/

You will see a directory listing for your public_html web directory.

Note that your 111 folder is not listed. This is a feature, not a bug: htAccess is hiding your 111 website folder for security.

Add 111 to the URL:

http://pages.uoregon.edu/susanQ/111/

You will be prompted to enter your htAccess credentials.


Make Sure your .htAccess Password is Correct

If you made a mistake setting your .htAccess password and it is something other than the middle three digits of your 95#, then your 111 projects cannot be accessed for grading.

You will get zeros (0) on your projects until this blocked access is fixed.

See your instructor or GTF asap to get this fixed.

Skip to toolbar