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.
Solutions:
/legacy/dcs/...
and use that. Though this may work, it
depends on /legacy/dcs/ persisting, which it may not.
Any CGI scripts which expect binaries in a certain location, eg
/usr/local/bin/perl
need to be updated with the new DICE
Redhat 9 location, in this case /usr/bin/perl
.
/legacy/dcs/public/
area. This is the preferred solution.
AddType application/x-httpd-php3 .phpWith the intention that your .php files will be parsed correctly, then this will instead bring up a "I don't know how to handle files of this type ..." type message box.
Solution:
AddType application/x-httpd-php .php
Solution: We've changed users old 'cgi' directory, and the scripts contained within, to gid "people", from whatever the old DCS gid was. We have also removed group and world read permissions from the directory to help maintain any restrictions that may have existed.
Solution: This has be solved on an individual basis by making specific changes for those users. Some of which have been done, but some may have been missed. Contact webadmin@inf if you believe this is the case for your pseudo user web pages.
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
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 |