Information Technology

Personal Web Pages

Faculty Profile Web Page

For Faculty, they can post their biographical information, research projects, and publications.  To get a Faculty Profile, enter a support request to http://webservices.fit.edu/requests.

my.fit.edu Personal Web Pages

The TRACKS account enables Faculty, Staff, and Students to post personal web pages to their UDrive.  The pages can be found on the web at:  http://my.fit.edu/~[Your TRACKS username].

Types of web pages supported on my.fit.edu: HTML (static pages) and PHP (dynamic pages). Information for making HTML and PHP pages can be found below:

These pages should be academic or research in nature. Commercial use is prohibited. This section outlines the steps you will need to take to post your pages.

Posting Web Pages

Step 1: Accessing Your Udrive.

Step 2: Posting your Pages.

  • After you have gained access to your UDrive (Step 1), you are ready to post pages.
  • Simply save your html or php files in the public_html directory. The default page should be named index.html or index.php.
  • To view the default page, simply type the URL http://my.fit.edu/~[Your TRACKS username], and the file index.html or index.php should appear in your browser.

Password Protecting Web Pages

The following instructions provide users the ability to create password protected web pages their UDrive on my.fit.edu. You can create a single username and password, or have multiple username and password pairs.

  1. Use secure shell to connect to my.fit.edu (Instructions on using SSH).
  2. Connect using your TRACKS username and password.
  3. Change to the directory (under public_html) you want to secure with a password.
  4. Type the following command securedir.sh to copy a template (.htaccess) into the current directory.
  5. Type pico .htaccess to edit the template
  6. (Optional) On the line labled AuthUserFile, verify that the path entered is where you want your passwords to be stored (Defaults to current directory).
  7. On the line labled require user, add the usernames you want to use seperated by a single space after the word user.
  8. Press CTRL-X to exit pico and confirm to save the file.
  9. To create the passwords, type the command htpasswd .htpasswd (username you want to set the password for). You will be prompted to confirm the password twice.
  10. Repeat for each additional user.
  11. (Optional) If you did not accept the default password location in step 6, move the file to the directory you specified.
  12. Test your website.

Example: A faculty member with a user name of jsmith wants to secure a directory on his website on my.fit.edu. This directory is named CSE2001 for the course he is teaching. He wants only the students taking the course to be able to read the material in that directory. Actual commands are in bold.

  1. Dr. Smith uses SSH to log into my.fit.edu.
  2. He changes to the CSE2001 directory: cd public_html/CSE2001.
  3. He executes the script by typing at the command linet: securedir.sh and the template files are moved into the directory /udrive/faculty/jsmith/public_html/CSE2001 (the current directory)
  4. He opens the .htaccess file by typing at the command line: pico .htaccess.

    The htaccess file before modification:

    AuthUserFile /udrive/faculty/jsmith/public_html/CSE2001/.htpasswd
    AuthName EnterPassword
    AuthType Basic

    require user
  5. The user decides to keep the passwords in the local directory so he does not modify the first line (AuthUserFile).
  6. The user wants to add two users to authenticate one called gsa, and another called csstudent. He does this by addiing each name after user on the line with require.

    The htaccess file after modification:

    AuthUserFile /udrive/faculty/jsmith/public_html/CSE2001/.htpasswd
    AuthName EnterPassword
    AuthType Basic

    require user gsa csstudent
  7. He then creates the passwords for each user by using the htpasswd command and confirming the passwords.

    htpasswd .htpasswd gsa

    htpasswd .htpasswd csstudent
  8. He then checks the website at http://my.fit.edu/~jsmith/CSE2001 to see if he is prompted for a username and password and if the passwords he entered are correct.