I'm sorry if the level this is written at insults you but it's your fault for being a UNIX wizz.

It is simple to publish information to the web from your DCS account.

The first thing to check is that your web directory exists.
cd /public/<username>/web

If this fails try to create the web directory.
CD /public/<username>
mkdir web
chmod 755 web

Any file you place in this directory will appear on the web providing it is world readable. Changing the mode of every file (which fits the *.* wildcard) in the directory can be achieved like this.
chmod 644 *.*

Any directory's created need to be executable so use this.
chmod 755 <directory name>

It is useful to have a link to this directory from your account. Use the following command from your home directory to create one.
ln -s /public/<username>/web www

This creates what seems to be a directory called www in your home account. It can be removed without destroying the actual directory with the rm command.

Finally ftp access to your account can be useful for home working (particularly if you have Dreamweaver). The ftp server is userftp.dcs.ed.ac.uk using your DCS username and password. This is where linking to www pays off as you can just tell your ftp program to go to www. If like me you can't get through to userftp try a ssh program such as WinSCP changing the server name to ssh.dcs.ed.ac.uk or telnet.dcs.ed.ac.uk.

SLIP 2002 Home | Developers Area
Copyright © 2002 James Brown
Last Updated Fri, 8/2/02