我跟着我的书,我-
安装了Abyss服务器,个人版。
2-将书的echo.pl文件复制到the服务器的htdocs文件夹中。重新启动网络服务器。
3-安装了Active Perl。(事实上,它已经在那里了。我不知道是谁放的。)
当我访问链接- http://localhost/echo.pl时,我要么看到perl文件(internet ),要么下载perl文件(chrome)。我希望这个脚本能够处理来自HTML表单的所有请求。我该怎么做?
谢谢。
发布于 2014-12-21 07:01:01
我只是运气好。我不知道该怎么做。我在他们的网站上闲逛,想读一些关于他们的信息。当有apache时,我想知道谁会使用这个模糊的web服务器。幸运的是,我看到了“帮助和支持”一节。在那里,我看到了脚本语言的支持,并在列表中提到了perl。我点击了链接,得到了我的windows系统的说明。在这里- http://www.aprelium.com/abyssws/perl.html
Download and install Perl
Download ActivePerl from http://www.activestate.com/Products/ActivePerl and install it.
Declare the interpreter
Open Abyss Web Server's console. In the Hosts table, press Configure in the row corresponding to the host to which you want to add Perl support.
If there is no Hosts table in the main screen of your console, this means that you are using an old version of Abyss Web Server. Please upgrade to the latest version before proceeding. Upgrading is free, straightforward, and preserves your current server configuration. Click here to download the latest version.
Select Scripting Parameters.
Check Enable Scripts Execution.
Press Add in the Interpreters table.
Set Interface to CGI/ISAPI.
Note that if you do not find an Interface field, you can ignore this step and continue with the following instructions.
In the Interpreter field, press Browse..., go to the directory where you have installed Perl, click on the bin subdirectory, and click on perl.exe.
Check Use the associated extensions to automatically update the Script Paths.
Press Add in the Associated Extensions table.
Enter pl in the Extension field and press OK.
Press again Add in the Associated Extensions table.
Enter cgi in the Extension field and press OK.
Press OK
Press OK in the Scripting Parameters dialog.
Declare new index files
Select Index Files.
Press Add in the Index Files table.
Enter index.pl in the File Name field and press OK.
Press again Add in the Index Files table.
Enter index.cgi in the File Name field and press OK.
Apply the modifications
Press Restart to restart the server.https://stackoverflow.com/questions/27587337
复制相似问题