To get started, choose from the options above.

Setup Your Home Page

Step 1

  • Launch an SSH client, like PuTTY
  • Type giant.utdallas.edu in the Host Name field
  • Select SSH
  • Click Yes
  • Enter your NetID and Password

Step 2

  • Type makeweb
  • Hit Enter
  • Note: Do not close Putty

Step 3

  • Put your index.html in your public_html folder on your H: drive (Home Directory)
  • Return to PuTTY

Step 4

  • Type cd public_html to navigate to your web directory
  • Type chmod 755 index.html
  • Hit Enter.
  • Note: You will need to repeat this step for any other pages you add to your web directory

Step 5

  • The url for your webpage is http://www.utdallas.edu/~netid
  • Your webpage will be automatically added to the list of personal webpages in about a day

CGI Under Your Own Home Page

We allow CGI access under personal web pages with the following restrictions:

  • Scripts are limited to 9 seconds of CPU time
  • The Office of Information Technology offers absolutely no support for CGI programming

Step 1

  • Access your public_html directory with PuTTY

Step 2

  • Type mkdir cgi-bin. This created a directory for your CGI scripts
  • Hit Enter
  • Type chmod 755 gi-bin. This sets correct permissions
  • Hit Enter
  • Type cd cgi-bin. Move to the new CGI script directory
  • Hit Enter

Step 3

  • Write your script.
    • You can use PHP on your web pages, but it must be written in CGI scripting format
    • Your scripts must be executable. chmod u+x scriptname.php
    • The first line of your PHP script must be #!/usr/local/bin/php
    • If using PERL, your script must begin with #!/usr/local/bin/perl

Step 4

  • Execute your script at http://www.utdallas.edu/~netid/cgi-bin/scriptname

Moving Files via VPN

Files can be moved to your home direcotry through mapping the Mars drive or by connecting through SFTP.

Option 1

  • Map the Mars drive
  • Once the drive has been mapped, you can move or copy your files into into the public_html folder

Option 2

Fixing Permissions Issues

The Office of Information Technology UNIX group has provided a simple script that will fix permissions on all of the files in your public_html folder at once

Step 1

  • Open PuTTY (or another SSH client) and connect to giant.utdallas.edu
  • Log in with your NetID and Password

Step 2

  • Type fixmywebsite
  • Hit Enter

Step 3

  • The script will list all of the files it will modify and ask for permission

Step 4

  • Verify that your website is fixed by going to http://www.utdallas.edu/~netid

Password Protect a Folder/Page

Step 1

  • Open PuTTY (or another SSH client) and connect to giant.utdallas.edu
  • Log in with your NetID and Password

Step 2

  • Move to your web directory. cd public_html
  • Move into the folder you wish to password protect. cd folder_name

Step 3

  • We’ll start by creating a passwords text file. pico passwords
    This file is temporary so don’t worry about picking a special name for it

Step 4

You are now in the PICO text editor.

  • Enter a list of usernames and unique passwords in the following format:
    username1 password1
    username2 password2
    username3 password3
  • Press Control + X to save the passwords file
  • When prompted, press Y to confirm changes
  • When prompted, name the file passwords

Step 5

Create the .htaccess and .htpasswd files to secure your folder/page

  • Type htcreate passwords.
  • Hit Enter.
    This creates the two files .htaccess (sets up authentication requirements) and .htpasswd (contains encrypted usernames and passwords)

Step 6

For obvious security reasons, we want to now delete the temporary passwords file

  • Type rm passwords
  • Hit Enter
  • When prompted, type yes to confirm you wish to remove the file passwords
  • Hit Enter.
If you would like to remove password protection from a folder in the future, simply delete the .htaccess and .htpasswd files using the same command rm filename