处理Perl IIS 7.5 [英] Handling Perl IIS 7.5
问题描述
我有一个用经典asp编写的项目,一个特定表单的提交由Perl脚本处理。
I've got a project written in classic asp, and a particular form's submit is handled by a Perl script.
我要做一个增强功能这个项目。我安装了最新版本的ActivePerl for Windows 32位。
I'm going to do an enhancement for this project. I installed the latest version of ActivePerl for Windows 32 bits.
我查看了生产环境并看到在IIS 7.5中,Handler Mappings上有一个条目 *。pl
由 C:\Perl \ bin \ PererEx30.dll
处理。所以我在开发环境上做了同样的事情。 (请注意,Prod。环境中没有* .cgi的映射)
I looked at the production environment and saw that in the IIS 7.5, there is an entry on "Handler Mappings" for *.pl
to be handled by C:\Perl\bin\PerlEx30.dll
. So I did the same thing on development environment. (please note that there is no mapping for "*.cgi" on the Prod. environment)
现在,当我试图提交其行为为<的表格时code> MyScript.pl ,我收到以下错误:
Now when I'm trying to submit the form which its action is MyScript.pl
, I get the following error:
HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
也许值得一提,我在64位环境下,我尝试使用ActivePerl for Windows 64位作为好吧(我将 *。pl
映射到 perl514.dll
)但仍然得到同样的错误!
Maybe worth saying that, I'm on 64 bits environment, I tried ActivePerl for Windows 64 bits as well (I mapped *.pl
to perl514.dll
) but still getting the same error!
推荐答案
应用程序池设置为启用32位应用程序= false
,I将其更改为true,它解决了问题。
The application pool was set so "Enable 32-Bit Applications = false
", I change it to true, and it fixes the issue.
这篇关于处理Perl IIS 7.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!