ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activeperl
activeperl
RE: (no subject)
by Todd Williams other posts by this author
Feb 25 2004 10:03PM messages near this date
(no subject) | RE: (no subject)
This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C3FBA8.255F83C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Used to be something like this is needed for IIS/PWS, to tell IIS how to
interpret the extention. Course with IIS you should not execute out of your
webpages path but instead, redirect to cgibin. Your cgibin should not allow
browsing, only execute.

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Scrip
t Map]
".php"="c:\\windows\\system\\php4isapi.dll"
".php3"="c:\\windows\\system\\php4isapi.dll"
".pl"="c:\\Perl\\bin\\perl.exe %s %s"
".cgi"="c:\\Perl\\bin\\perl.exe %s %s"
".py"="c:\\python22\\python.exe %s %s"
".px"="c:\\python21\\python.exe %s %s"




> Hi all,
> Got a problem trying to run some perl/cgi based stuff from my server.
> Please check this URL: http://www.rocketturd.com/index.shtml
> It's just returning the script as text and not executing it. can anyone
help?
> Thanks

------=_NextPart_000_000D_01C3FBA8.255F83C0
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.2800.1400" name=3DGENERATOR> </HEAD>
<BODY> 
<DIV> <FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D280575321-25022004> Used=20
to be&nbsp;something like this is needed for IIS/PWS, to tell IIS how to =

interpret the extention. Course&nbsp;with IIS you should not execute out =
of your=20
webpages path but instead, redirect to cgibin. Your cgibin should not =
allow=20
browsing, only execute.</SPAN> </FONT></DIV>
<DIV> <FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D280575321-25022004> </SPAN></FONT>&nbsp;</DIV>
<DIV> <FONT face=3DArial color=3D#0000ff=20
size=3D2> [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Para=
meters\Script=20
Map]<BR> ".php"=3D"c:\\windows\\system\\php4isapi.dll"<BR>".php3"=3D"c:\\w=
indows\\system\\php4isapi.dll"<BR> ".pl"=3D"c:\\Perl\\bin\\perl.exe=20
%s %s"<BR> ".cgi"=3D"c:\\Perl\\bin\\perl.exe %s=20
%s"<BR> ".py"=3D"c:\\python22\\python.exe %s =
%s"<BR> ".px"=3D"c:\\python21\\python.exe=20
%s %s"</FONT> </DIV>
<DIV> <FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV> &nbsp;</DIV>
<DIV> <BR>
<DIV> <FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D280575321-25022004> &gt;</SPAN>Hi all,</FONT></FONT></FONT></DIV>
<DIV> <FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D280575321-25022004> &gt;</SPAN>Got a problem trying to run some =
perl/cgi=20
based stuff from my server.</FONT> </FONT></FONT></DIV>
<DIV> <FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D280575321-25022004> &gt;</SPAN>Please check this URL:=20
</FONT> </FONT></FONT><A =
href=3D"http://www.rocketturd.com/index.shtml"> <FONT=20
face=3DArial =
size=3D2> http://www.rocketturd.com/index.shtml</FONT></A></DIV>
<DIV> <FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D280575321-25022004> &gt;</SPAN>It's just returning the script as =
text and=20
not executing it. can anyone help?</FONT> </FONT></FONT></DIV>
<DIV> <FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D280575321-25022004> &gt;</SPAN>Thanks</FONT></FONT></FONT></DIV></=
DIV> </BODY></HTML>

------=_NextPart_000_000D_01C3FBA8.255F83C0--
Attachments:
unknown1

Thread:
Lee
Todd Williams
=?iso-8859-1?Q?Zambra_-_Toda_la_m=FAsica_hecha_en_Espa=F1a_a_su_alcance?=
Lee
=?iso-8859-1?Q?Zambra_-_Toda_la_m=FAsica_hecha_en_Espa=F1a_a_su_alcance?=

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved