Setting up personal webpages
Setup
Your personal webpages are put in your directory called
public_htmlYour personal webpage address is:
http://www.damtp.cam.ac.uk/user/crsid- The main page of your personal website is called
index.html. Yourpublic_htmlfolder has a sample index.html file for you to edit.
The main index-page in your web directory needs to be called index.html. Otherwise when people navigate to your site they will just see a list of all files in your web directory.
If your account was set up in or before 2009 you may find your webpage does not work, if so please email us asking us to link it in to the webserver.
Templates: New accounts have template index.html and me.jpg files in the public_html directory. These can be copied from /opt/damtp-master/template/public_html/
Accessibility
Make sure your webpages are written in an accessible (inclusive) way.
The Validator. Files can be uploaded directly to the valiator.
The tidy command. The syntax is
tidy --asxhtml file.html > newfile.html
Troubleshooting / Permission Denied
The directory you put your HTML files in, and the files themselves, must be "visible to the webserver, so if your homedirectory is by default not readable to everyone on the system, you will need to change it to be so. And then check if the individual files/directories you don't want to be world-readable in it to be made private.
Contact us if you need assistance with this.
The server which your webpages are kept on is case sensitive. For example MyPage.html and mypage.html would not be seen as the same file by it.