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

iriscat 2001-09-17 05:19:06
如何在win2k pro 的IIS中运行prel脚本?
需要安装什么软件?
...全文
186 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
yourway 2002-03-01
  • 打赏
  • 举报
回复
这个问题好像问过很多遍了。
其实,你只要安装了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.


iriscat 2002-02-28
  • 打赏
  • 举报
回复
谢谢,怎么给分???
=_=

两年了我都不会,只给别人分了
wilddragon 2001-09-24
  • 打赏
  • 举报
回复
哈哈
wilddragon 2001-09-24
  • 打赏
  • 举报
回复
哈哈
iamxxg 2001-09-22
  • 打赏
  • 举报
回复
win2k pro是没有IIS的,你可以找一个ohttpd装上,在装activeperl就可以了
wilddragon 2001-09-21
  • 打赏
  • 举报
回复
支持支持
xbx 2001-09-17
  • 打赏
  • 举报
回复
安装active perl后,在IIS中配置ISAPI过滤器。使其支持扩展名.pl就行。
netken 2001-09-17
  • 打赏
  • 举报
回复
active perl
看看前面的帖子吧,都有的
精华区

2,204

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 CGI
社区管理员
  • CGI社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧