Re: redirect.pl sez Content-Type: application/x-perl
On Mon, Oct 28, 2002 at 11:11:36AM +0800, Andrew Shugg wrote:
> Another way of doing it would be to have the redirect.pl script supply
> its own Content-Type header.
Yeah, but the CGI(3pm) manual page says that that shouldn't be done:
The redirect() function redirects the browser to a
different URL. If you use redirection like this, you
should not print out a header as well.
I think I'll experiment with Apache's rewrite rules instead, that seems
much, much cleaner.
--
2. That which causes joy or happiness.
Reply to: