Creating a Homepage
To create a home page in your College of Engineering computer account, you will need to be in the UNIX environment. If you are already in the UNIX environment, you can skip down to Creating Directories and Setting Permissions.
Getting into the UNIX Enironment
- Open Secure Shell. It is located in the Internet Utilies folder on your desktop.
- Click OK to get throught the "README & Disclaimer" dialog box.
- The dialog box shown to your right will pop up. You'll need to fill in the following items:
- Under Host Name: enter systemname.occ.uc.edu where the systemname can be found at Remote Access UNIX System Names.
- Under User ID: enter your OCC username.
- Under Authentication Type further down in the dialog box, there is a box beside the word Password. Make sure it is checked.
- Press OK.
- Another box will pop up...press the Accept Key button.
- One final box will pop up asking for your password. Enter your UNIX password and press OK.
Creating Directories and Setting Permissions
- Change the directory to your home directory.
% cd $HOME/..
- Create your public WWW directory.
% mkdir public_html
- These next two commands change the permissions of your UNIX home directory and your newly created WWW directory so that everyone can view your HTML files.
chmod 711 $HOME/..
chmod 755 $HOME/../public_html
- Now you have a public_html directory, in which, you will keep all your files that relate to the WWW. Also create an index.html file in this directory which will be used as your default HTML document. This is the file which will be loaded when anyone accesses your home page, using the following URL:
http://www.eng.uc.edu/~your_user_name/
User can run CGI-BIN scripts from their own public_html directory. By creating a directory called cgi-bin under the public_html structure, and naming any scripts with a .cgi extension, they may be called as any system script. To do so, imbed something like the following into any TAG which calls your particular script.
"http://www.eng.uc.edu/~your_user_name/cgi-bin/script.cgi"