Web pages, images, audio clips and any other items you wish to make available on your home page are stored underneath your home directory, in a subdirectory called "public_html".
To create this directory from a shell prompt, you need to execute the following
commands:
cd
mkdir public_html
Alternatively, you can use your favourite FTP client to create the directory. This is not, however, covered in this document because there are simply too many FTP clients available.
You need to set the file permissions to your home directory, to allow the web server to read your pages. Without this, users will simply get "403 Permission Denied" error messages if they look up your home page.
Here is a short guide to the steps you need to take to ensure
that the web server has the minimum access rights to your web
pages:
chmod o+x ~
chmod o+x ~/public_html
(If you would like the web server to be able to obtain a directory listing, for example if there is no index.html file, you should issue this command instead):
chmod o+rx ~/public_html
chmod -R g+r ~/public_html/*
chmod o+x ~/public_html/directory_name
Again, these permissions can be set using your favourite FTP client and the SITE CHMOD command, but this is not supported.
If you do not want your web pages to show up in the publicly-available listing, all you need to do is create a file called .private_html inside your HTML directory. There are a number of ways of achieving this:
touch ~/public_html/.private_html
The following service was in operation on hilly in September 1997. If there is sufficient demand for it, it may be reintroduced:
If you create a file called .mail_me_logs inside your HTML directory, you will get an email each morning, detailing all accesses to any of your pages on here. Beta-testers are wanted for this, as I'm by no means sure what information people want to know from this...!