How do I set up a personal webpage on blue?
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 your home directory and your "public_html" to 711 to make them searchable (executable).
- Create a main web page named "index.html" within "public_html" (there are many online tutorials for developing web pages).
- Change the permissions on "index.html" to 644 (world-readable).
The website can now be accessed at
https://blue.cs.sonoma.edu/~YourBlueUsername
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.