Activating Web Pages

In order for your web pages to become publicly available you must do the following:

Create a directory named "public_html" in the home directory of your account if one does not already exist.

Change the permissions on "public_html" to 711 to make it searchable (executable).

Create a main web page named "index.html" within "public_html".

Change the permissions on "index.html" to 644 (world-readable).

If you want to use server-side includes and cgi programs you must create a file in the directory "public_html" named ".htaccess" which contains the following lines:

AddType application/x-httpd-php .php .html
Options +ExecCGI
AddHandler cgi-script .py
AddHandler cgi-script .php

You can add other extensions to your files such as shtml, etc.

The website can be accessed from the world as http://www.cs.sonoma.edu/~yourCSusername

There are many online tutorials for developing web pages.