#acl PaulHowarth:read,write,admin,revert,delete All:read === Friday 16th May 2008 === ==== SHAS Website ==== Earlier this week I finally managed to get the [[http://www.shas.org.uk/|Sale Horticultural & Allotment Society website]] migrated over to my own machine from [[http://www.freeola.com/|Freeola]]. I'd been trying on and off to get this done for the best part of two years, the hold-ups being due to the fact that the domain was registered long before I joined the society and the contact details hadn't been kept up to date, so it was difficult to actually do ''anything'' with the domain. Now that the website is served from my own machine, I can use [[http://httpd.apache.org/|Apache]] features like [[http://httpd.apache.org/docs/2.2/mod/mod_include.html#xbithack|XbitHack]] when doing server-side includes instead of having to rename pages to `.shtml` as I had to do when using Freeola's hosting. Of course, since the site has been there for a long time, the search engines all have links to the `.shtml` pages that no longer exist, so I needed a quick hack to provide the correct content when people followed those links. All that was necessary was a `RedirectMatch` directive in the site's `VirtualHost` container: {{{ # Search engines have cached .shtml links RedirectMatch seeother (/.*)\.shtml$ $1.html }}} ----