Nothing. This isn't a compilation problem or so, the white page is probably because of that the "Location:" is the only line that is printed. | [reply] |
AFAIK, the Location header must contain an absolute URL, not a relative.
Use Firebug or Wireshark to find out what is sent to the browser. I guess Apache enforces status 404, so you won't get the 30x redirection that you expect. Perhaps you need to add a Status header.
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
| [reply] |
It actually works when calling /cgi-bin/errorpage.pl directly, so I guess that the Location isn't the problem, this is probably related more to the Apache handling?
| [reply] |
AFAIK, the Location header must contain an absolute URL, not a relative. HTTP location says different
| [reply] |
Nothing. This isn't a compilation problem or so, the white page is probably because of that the "Location:" is the only line that is printed.
Logs contain things other than compilation errors.
In any case, you should use CGI->redirect
| [reply] |