The old www.dcs.ed.ac.uk server

Historical Interest Only: The following dates from around 2004.

www.dcs.ed.ac.uk, the legacy DCS web site, has been moved to a .inf.ed.ac.uk DICE managed machine. It continues to respond to www.dcs.ed.ac.uk requests, however, due to the technical differences between the old DCS world and the DICE world an identical service is not possible. Particular difficulties are the changes to PHP (ie from version 3 to version 4) and user owned CGI scripts.

The legacy content is available in the file system as /legacy/dcs/public/ which was equivalent to the old DCS path of /public/. At some date still to be agreed, this will become read only, as all new/active official Informatics content should be hosted on www.inf.ed.ac.uk, and any personal pages on homepages.inf.ed.ac.uk.

Likely Pitfalls and Solutions

Some of the likely problems following the move from an old DCS Redhat 6.2 hosted service to the new DICE Fedora Core hosted service.

Redirecting to a new location

If you decide to move your content to the likes of homepages.inf.ed.ac.uk (the preferred solution), rather than fixing it to work on www.dcs.ed.ac.uk, then you'll probably want to automatically redirect visitors to your old URL to the new location of your web pages. To do this you can use the Apache Redirect permanent or RewriteRule directives in a .htaccess file in your old www.dcs home page.

For most cases, where you blanket move all your files from /legacy/dcs/public/<legacy_username>/web/ to /public/homepages/<dice_username>/web/, then the following lines in a .htaccess file, should do the trick:

# Redirect all requests to my new homepage
Redirect permanent /home/legacy_username http://homepages.inf.ed.ac.uk/dice_username

This .htaccess file should be located at /legacy/dcs/public/<legacy_username>/web/.

Page last updated: 2012/10/02 12:34:15


Home : Systems : Web 

Informatics Forum, 10 Crichton Street, Edinburgh, EH8 9AB, Scotland, UK
Tel: +44 131 651 5661, Fax: +44 131 651 1426, E-mail: school-office@inf.ed.ac.uk
Please contact our webadmin with any comments or corrections. Logging and Cookies
Unless explicitly stated otherwise, all material is copyright © The University of Edinburgh