This has been discussed before, e.g. in
Adding support for '
ns_returnredirect -code 301 $url
AOLserver (should be easy) and then using that from OpenACS still
seems like the best solution to me, but I don't know if AOLserver SF
has gone in yet.