[Xitami] configuration issue - newbie question
Gregory Hart
xitami@lists.xitami.org
Fri, 19 Apr 2002 17:05:07 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_0038_01C1E7C4.5B847C20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Do you have the content-type line in your header? I know Xitami doesn't =
require it, but it couldn't hurt. Just put one of the lines into your =
script if you don't have it:
print "Content-Type: text/html\n\n";
print "Content-Type: text/plain\n\n";
-Greg
----- Original Message -----=20
From: E. Egberts=20
To: xitami@lists.xitami.org=20
Sent: Friday, April 19, 2002 4:29 PM
Subject: [Xitami] configuration issue - newbie question
I have setup a small Perl script containing some simple print statements =
for testing purposes. When I execute the script, the browser prompts to =
download a file. This file contains the expected output but I want it to =
be printed in the browser!. Which Xitami configuration parameter (if =
any) controls this output behavior?
Thanks,
Egbert=20
The Netherlands
------=_NextPart_000_0038_01C1E7C4.5B847C20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Do you have the content-type line in =
your header? I=20
know Xitami doesn't require it, but it couldn't hurt. Just put one of =
the lines=20
into your script if you don't have it:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>print "Content-Type: =
text/html\n\n";</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>print "Content-Type: =
text/plain\n\n";</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Greg</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
title=3Degbert@familie-egberts.tk =
href=3D"mailto:egbert@familie-egberts.tk">E.=20
Egberts</A> </DIV>
<DIV><B>To:</B> <A title=3Dxitami@lists.xitami.org=20
href=3D"mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> =
</DIV>
<DIV><B>Sent:</B> Friday, April 19, 2002 4:29 PM</DIV>
<DIV><B>Subject:</B> [Xitami] configuration issue - newbie =
question</DIV></DIV>
<DIV><BR></DIV>
<DIV><SPAN class=3D230222023-19042002><FONT face=3DArial color=3D#0000ff =
size=3D2>I have=20
setup a small Perl script containing some simple print statements for =
testing=20
purposes. W</FONT></SPAN><SPAN class=3D230222023-19042002><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>hen I execute the script, the browser prompts =
to download a=20
file. This file contains the expected output but I want it to be =
printed in=20
the browser!. Which Xitami configuration parameter (if any) =
controls this=20
output behavior?</FONT></SPAN></DIV>
<DIV><SPAN class=3D230222023-19042002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D230222023-19042002><FONT face=3DArial color=3D#0000ff =
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D230222023-19042002><FONT face=3DArial color=3D#0000ff =
size=3D2>Egbert</FONT> </SPAN></DIV>
<DIV><SPAN class=3D230222023-19042002><FONT face=3DArial color=3D#0000ff =
size=3D2>The=20
Netherlands</FONT></SPAN></DIV></BODY></HTML>
------=_NextPart_000_0038_01C1E7C4.5B847C20--