Yes, I tried the first way before,
but I always get a 500 Server Error on my Apache (1.3.26) when doing it.
Same goes for the other way.

What could that mean? Do I need to change the HTTP commands?

I don't have problems with PHP and Perl redirects using their proper
functions, but as I really like Ruby I want to do it in that language :)