Keeping documents accessible
As we were going through our web server logs this morning, looking for 404 - page not found errors, it turns out quite a few people have linked to documents in the /osia and /osv directories on our old website.
These directories don't live in the same location on our new website. To keep things tidy we moved them into a directory called /files. So when we switched over, all those links were broken. Of course we can copy the documents back to where they were, but there is something to be said for keeping the web site tidy.
Luckily, apache has a module called mod_rewrite, which allows the web master to use regular expression matching on any web request and modify the request as they see fit.