Web Pages on ROHAN

After you follow the steps, your homepage url will be http://www-rohan.sdsu.edu/~your_username

Create your web page

You can use a variety of programs to create the webpage. You must save your webpage as a file called index.html

Create the public_html directory(folder) and set general permissions

You will need to create a directory in your Rohan account to upload your webpage to and set permissions on it so the public can see your page.

       

       

Transferring files to Rohan

You must transfer ALL files, images, etc. assosiated with your web page.


If you are using a PC you can use a program called SSH (download SSH here, if needed)
to transfer your files to your webpage.

If you are using a Macintosh you can use a program called Fetch.


Using either of these progams will automatically set the permissions for each transfered file if you have already set the permissons for your home and public_html directories as stated above under "Create the public_html directory. "

  1. Open your file transfer program (either SSH or Fetch)

  2. Log into the host name of rohan.sdsu.edu using your Rohan username and password

  3. Transfer your index.html file and any pictures that will go on your page into your "public_html" directory.

    *** Note*** Images and MS Office files should be transfered in binary mode. The application should automatically choose "binary" for those types of files, but if you have issues with them, try manually changing the mode to binaray via the menu Remote -> Mode

  4. Exit the program

Setting Permissions for files inside public_html directory

You must manually set the permissions for files that have not been put in the account via an FTP program (SSH or Fetch) or were uploaded before the permissions were set on the main directory so that other people may view these particular files.

Adding CGI Scripts

About how to incorporate CGI scripts into your webpage

Adding a Counter to Your Web Page on ROHAN

To add a counter to your web page, the following code must be located on the page you wish to count:

* YOUR_URL must end with a slash(/), .html, or .htm.
* YOUR_URL must match the URL that is used to access your web page. Don't guess! Use a web browser (Netscape, Internet Explorer, etc.)to view your page and see what appears in the Location box.



Student Computing Center
San Diego State University
(619) 594-3189