CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
不看会后悔的Windows XP之经验谈 简单快捷DIY实用家庭影院
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Web 开发 >  CGI

如何在win2k pro 的IIS中运行prel脚本?

楼主iriscat(猫小)2001-09-17 17:19:06 在 Web 开发 / CGI 提问

如何在win2k   pro   的IIS中运行prel脚本?  
  需要安装什么软件? 问题点数:20、回复次数:9Top

1 楼netken(小肯)回复于 2001-09-17 18:17:17 得分 20

active   perl  
  看看前面的帖子吧,都有的  
  精华区Top

2 楼xbx(chinastar)回复于 2001-09-17 18:31:12 得分 0

安装active   perl后,在IIS中配置ISAPI过滤器。使其支持扩展名.pl就行。Top

3 楼wilddragon(东瀛倭族自治州州长)回复于 2001-09-21 23:01:05 得分 0

支持支持Top

4 楼iamxxg(bigfoot)回复于 2001-09-22 19:25:26 得分 0

win2k   pro是没有IIS的,你可以找一个ohttpd装上,在装activeperl就可以了Top

5 楼wilddragon(东瀛倭族自治州州长)回复于 2001-09-24 09:27:31 得分 0

哈哈Top

6 楼wilddragon(东瀛倭族自治州州长)回复于 2001-09-24 15:42:05 得分 0

哈哈Top

7 楼iriscat(猫小)回复于 2002-02-28 20:38:45 得分 0

谢谢,怎么给分???  
  =_=  
   
  两年了我都不会,只给别人分了Top

8 楼yourway(勵磁繞組,還未娶妻(至少我曾經瘦過))回复于 2002-03-01 11:16:15 得分 0

这个问题好像问过很多遍了。  
  其实,你只要安装了ActivePerl后,在安装目录中的html目录中就有一套文档,很好的。其中就包括如何在IIS中进行配置的文章。现摘抄出其中一段(时间紧、任务重,所以我就不翻译了,其实也不难):  
   
  如何配置IIS4.0及其更高的版本支持Perl。  
  How   do   I   configure   Microsoft   IIS   4.0   to   support   ActivePerl?  
  Microsoft   IIS   4.0   ships   with   Windows   NT   Server   5.0,   and   PWS   4.0   ships   with   Windows   NT   Workstation   5.0.   Both   IIS   and   PWS   are   available   as   part   of   the   Microsoft   Windows   NT   4.0   Option   Pack.   You   can   find   a   link   to   the   Option   Pack   at   http://www.microsoft.com/iis/  
   
  To   configure   IIS   or   PWS   4.0   to   run   Perl   scripts:  
   
  Open   the   IIS   4.0   Internet   Service   Manager.   This   will   bring   up   the   Microsoft   Management   Console   with   the   Internet   Service   Manager   snap-in   selected.  
   
  From   the   tree   display   on   the   left,   select   the   level   at   which   to   apply   the   mappings.   You   can   choose   an   entire   server,   web   site,   or   a   given   virtual   directory.  
   
  Select   Properties   from   the   Action   menu.  
   
  If   you   chose   to   administer   the   properties   for   the   entire   server,   the   Server   Properties   dialog   will   appear.   Select   WWW   Service   from   the   Master   Properties   pull-down   menu   and   click   the   Edit   button   under   Master   Properties.   This   opens   WWW   Service   Master   Properties.   Select   the   Home   Directory   tab   and   proceed   to   step   7.  
   
  If   you   chose   to   administer   the   properties   for   an   entire   web   site,   the   Web   Site   Properties   sheet   appears.   Select   the   Home   Directory   tab   and   proceed   to   step   7.  
   
  If   you   chose   to   administer   the   properties   for   a   virtual   directory,   the   Virtual   Directory   Properties   sheet   appears.   Select   the   Virtual   Directory   tab   and   proceed   to   step   7.  
   
  Click   the   Configuration   button.   This   opens   the   Application   Configuration   dialog.  
   
  Select   the   App   Mappings   tab   and   click   the   Add   button.   You   see   the   Add/Edit   Application   Extension   Mapping   dialog.  
   
  To   run   Perl   as   a   CGI   application,   type   the   full   path   to   Perl.EXE   followed   by   %s   %s.   When   a   script   is   executed,   the   first   %s   will   be   replaced   by   the   full   path   to   the   script,   and   the   second   %s   will   be   replaced   by   the   script   parameters.  
   
  To   run   Perl   for   ISAPI,   type   the   full   path   to   PerlIS.DLL.   The   %s   %s   is   not   required   for   ISAPI   DLLs.  
   
  In   the   Extension   field,   type   .pl   or   .plx   (or   whatever   extension   you   want   to   use).  
   
  The   application   mapping   is   now   complete.   Click   the   OK   button   and   click   OK   to   dismiss   any   remaining   dialogs/property   sheets.  
   
  Close   the   IIS   4.0   Internet   Service   Manager.  
   
  Because   IIS   runs   as   a   service   (see   What   is   a   Windows   NT   service?),   you   need   to   take   special   steps   to   make   sure   that   files   and   environment   variables   are   available   to   it.  
   
   
  Top

相关问题

  • 动态控制iis的脚本!!!
  • 脚本
  • 怎样配置WINN2000下的IIS浏览asp脚本?(万风火急)
  • 求教!!!如何用wscript命令或3wsite脚本配置iis中站点或虚拟目录的 "执行许可"项中起用“纯脚本“??
  • 我的IIS出问题了!默认脚本语言无效 为该应用程序指定的默认脚本语言无效
  • 找个脚本
  • SQL脚本
  • 脚本签名
  • 脚本错误?
  • 脚本问题

关键词

  • win2k
  • iis
  • perl
  • 安装
  • virtual
  • nt
  • activeperl
  • administer
  • win2k pro
  • 配置

得分解答快速导航

  • 帖主:iriscat
  • netken

相关链接

  • Web开发类图书

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo