Setting Up Your 'Non-CMS' Departmental Website 1-2-3-4!
- Get a departmental web account.
Fill out the on-line form at http://www.ccsf.edu/Forms/website.html
- Get your page(s) ready.
Many references are available online and offline to help you learn enough
and do complex pages. If you don't have the time or desire to do your own HTML, remember that
lots of CCSF students are anxious to show off their skills. Hiring a student may be the way to go.
- Support: 'Non-CMS' departmental websites do not have ITS support.
- Access protocol: Only simple FTP (port 21) access is provided to maintain the site. You may have to develop your site elsewhere and transfer it by FTP.
- File extensions count: If you want the web server program to display your HTML code correctly, you must add either .html or .htm as a suffix to the name of your file. Likewise, graphics files most often sport the extensions .gif or .jpg.
- Case counts: The web server program runs on Unix, which is case-sensitive. If you name a file 'bingo.html' and then construct a link to that file as 'Bingo.html', the link won't work.
- Make your links portable: Whenever possible, make your links relative, not absolute. If you construct a link to a file that resides in the same directory, use just the filename in the link. Use the full http:// URL format only when you are accessing another machine.
- Give the right name to the file that's your starting point:
Name the first file you want to display either
'index.html' or 'index.htm' - this is what the web server program displays automatically.
- CGI programs: If you wish to use online forms or any kind of CGI enabled pages,
place your CGI programs in the cgi-bin directory of your department web site,
(If your site does not have a cgi-bin directory, make one;)
make the programs executable from your FTP client; in the web page refer to your CGI program as:
Where ACCOUNT is your department login account on www.ccsf.edu and CGI_PROGRAM_NAME is the name of the program you have placed in your department web site cgi-bin directory.
- PHP scripts: If you wish to use php scripts, put them in the php directory of your department web site,(If your site does not have a php directory, make one.) Make the programs executable from your FTP client; create a blank file with the same name on the root of your site. Refer to your php programs as:
Or simply/~ACCOUNT/PHP_SCRIPT_NAME (Relative URLs are recommended)
Where ACCOUNT is your department login account on www.ccsf.edu and PHP_SCRIPT_NAME is the name of the script you have placed in your department web site php directory.
- Get your work online: This means that you must upload your text and graphics files to your account on www.ccsf.edu "By FTP Protocol".
- Check out your site by looking at
where 'UserID' is the login id for your departmental account on www.