Home | About | Courses | Research | Search 
Hints for creating your own homepage
     
  About the School 
  Course Information 
  Course Material 
  Research Profile 
  Student Support 
  Staff Support 
  Online Documents 
  Miscellaneous 

  To Secure Site

Firstly, your going to have to learn HyperText Markup Language or HTML. Web pages are written using this. Try the Beginners Guide to HTML.

A good way to find out about HTML is to look at other peoples pages! From the Netscape View -> Document Source to see the raw HTML document.

  • Secondly, because the School's web server and your homepage is stored on a Unix server, you are going to have to learn a little bit of Unix!

  • Give your HTML files the extension .html and place them in a directory called Homepage in your Unix home directory, this is where the web server will look for your files.

    NOTE: The homepage directory has changed from the previous setup, which used the .html directory. All web documents must now be placed in the Homepage directory, this will make it easier to edit your documents from the PC Labs when mounting your Unix Home (U: drive).

  • Call your start page index.html
    Our web server, when not given a full URL, will look for this file.

  • The access permissions on your home AND Homepage directory must be at least 711 (searchable by everybody). Any files you want viewable (including image and sound files) must be readable by everybody ie. 644. Use the Unix chmod command to change file and directory permissions.
    To change your home directory permissions, type chmod 711 ~
    To change your Homepage (and other) directory permissions, use chmod 711 ~/Homepage
    To change your file permissions, type chmod 644 filename

    Use the Unix command ls -la to show you a listing of the files and directories with their permissions displayed.

  • There are some icons and images which you may find useful in /web/icons and /web/images. The best way to use these is to use an anchor reference like so:
    HTML: <img src="/images/banner.gif">
    HTML: <img src="/icons/sound.gif">

  • You can link in files from /pub/, using the reference. eg:
    <A HREF="/pub/sounds/animals/sheep.au">Baaaaa</A>

  • The URL for your start page will be:
    http://www.scm.uws.edu.au/~login/

  • Once you have created a Homepage directory and an index file, check to make sure you have set the correct permissions by entering the your start URL i.e. http://www.scm.uws.edu.au/~login/ into the location box in your favourite web browser.

  • Try keeping inline images to under 50K! If you can, keep your pages to one screenful - particularly on 'menu' pages.

  • Use pnmscale, ppmquant and convert to scale images, rather than xv.

  • Check your HTML! From Unix use weblint to check the correctness of your HTML eg. weblint index.html

  • You can run CGI scripts using the web server. Read the man on cgiwrap.
    Quick example:
    http://www.scm.uws.edu.au/cgi-bin/cgiwrap/login/script
    Where script is the name of your program in your ~/Homepage/cgi-bin/ directory.



  •  
     
    Modified: 21st July, 2006 
    School of Computing & Mathematics  
    © University of Western Sydney, 2008