Re: Forward-page ugliness solved (patch from Martin Ertl)

Martin Ertl <[email protected]>
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
There seems to be a problem with "headers_out()" on Apache 1 
(at least here on the testserver)

The following solved this problem:
(it looks ugly, but it works on the testserver)

Replace in Submit.pm, line 250:
   $doc->{HANDLER}->headers_out->set('Location' => $redirectUrl);
   $doc->{HANDLER}->status(REDIRECT);

with:
   print "Location: $redirectUrl\n\n";



Skickat av Martin Ertl <[email protected]>
till survey-discussion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.