[Xitami] cant execute .pl files

Marcio Marchini xitami@lists.xitami.org
Sat, 8 Dec 2001 13:01:51 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C17FE8.80DE7F50
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Add the MIME type entry in your defaults.cfg

[Mime]
.pl=application/x-httpd-perl


I assume you already have this part:

[Filter]
pl=c:\perl\bin\perl.exe


marcio
  -----Original Message-----
  From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Andrew Taylor
  Sent: December 8, 2001 5:58 AM
  To: xitami@lists.xitami.org
  Subject: [Xitami] cant execute .pl files


  I know this has probally been addressed like 2 million times but..
  When i try to execute .pl files from the browser it wants to download them
instead of executing them.  from the command line in DOS window it works
fine.  Any suggestions?

------=_NextPart_000_000B_01C17FE8.80DE7F50
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.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D686275817-08122001><FONT face=3DArial color=3D#0000ff =
size=3D2>Add=20
the MIME type entry in your defaults.cfg</FONT></SPAN></DIV>
<DIV><SPAN class=3D686275817-08122001><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D686275817-08122001>[Mime]=20
<BR>.pl=3Dapplication/x-httpd-perl<BR></SPAN></DIV>
<DIV><SPAN class=3D686275817-08122001><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D686275817-08122001><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
assume you already have this part:</FONT></SPAN></DIV>
<DIV><SPAN class=3D686275817-08122001><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20
class=3D686275817-08122001>[Filter]<BR>pl=3Dc:\perl\bin\perl.exe</SPAN></=
DIV>
<DIV><SPAN class=3D686275817-08122001></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D686275817-08122001><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D686275817-08122001><FONT face=3DArial color=3D#0000ff =

size=3D2>marcio</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  xitami-admin@lists.xitami.org =
[mailto:xitami-admin@lists.xitami.org]<B>On=20
  Behalf Of</B> Andrew Taylor<BR><B>Sent:</B> December 8, 2001 5:58=20
  AM<BR><B>To:</B> xitami@lists.xitami.org<BR><B>Subject:</B> [Xitami] =
cant=20
  execute .pl files<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>I know this has probally been =
addressed like 2=20
  million times but..</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>When i try to execute .pl files from =
the browser=20
  it wants to download them instead of executing them.&nbsp; from the =
command=20
  line in DOS window it works fine.&nbsp; Any suggestions?</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000B_01C17FE8.80DE7F50--