PHP support on zoo has ended. Sites migrated to silk hosting should see improved performance, security, and deployment flexibility.

Migrating sites to silk

Migrating your exising site involves roughly the following:

  1. Request a silk hosting site. You can obtain a silk account by emailing a request to Systems Architecture & Administration. If you need compatibility with PHP 5.3 and/or Magicscript, make sure to mention this.

  2. Copy your content.

  3. Adapt your site to silk.

Upgrading PHP

Like zoo, the silk hosting service no longer supports PHP 5.3, and any PHP pages migrated to silk will need to work with a newer version of PHP. The work involved varies depending on your site. For most people, moving to PHP 5.5 includes at least updating your WebDB credentials.

Redirecting page requests

You can redirect people who encounter your old URLs to your silk site by creating/editing a file named .htaccess in your site on zoo, adding something like the following:

# Redirect a specific file
Redirect /~myoldsite/old.html http://<netid>.w3.uvm.edu/new.html

# Redirect a whole site
Redirect /~myoldsite http://<netid>.w3.uvm.edu/

# Redirect any file ending in `.html`
RedirectMatch (.*)\.html$ http://<netid>.w3.uvm.edu/$1

Proxying page requests

You can keep your existing www.uvm.edu URLs by proxying requests through those servers to your silk site. Create/edit a file named .htaccess in your site on zoo, adding something like the following:

RewriteEngine on
RewriteRule (.*) http://<netid>.w3.uvm.edu/$1 [L,P]

This will make the entire silk site appear for browsers to be served from the URL where these rules are specified.

Particularly complex proxy rules might have needs beyond the capabilities of .htaccess files. If the above is not sufficient for your site (for example, if your site performs page redirects), contact SAA for assistance.