Yesterday Keith Jackson wrote:
> PerlRun ... I decided to look into it for applications we have here.
>
> The second site I tried was an older site that used:
>
> print "location: http:...... \n\n";
>
> Using PerRun, it displayed "location: http:...." on the browser.
A quick fix for this is to put this directive in your 'Apache'
configuration for your PerlRun stuff:
PerlSendHeader On
This informs mod_perl that your script will be sending headers at the
start of its usual output. mod_perl then parses your output and does
the right thing with them.
This extra parsing obviously takes a little time, so your fix is
definitely better, but PerlSendHeader can be useful if you have many
scripts you want to get working quickly.
> Switching the code to say:
>
> print $query->redirect("http:....")
>
> it worked fine.
Smylers
--
GBdirect
http://www.gbdirect.co.uk/
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users