Dear all,
本來我是發言求救的!!
但是在我自己的嘗試之下我想或許我找出方法了,
在我自己的主機上可以運作,
我也希望在其他使用appsev的主機上可以運作!!
把我的努力分享出去∼
首先去下載ActivePerl-5.6.1.629這個檔案,並安裝到電腦上,
然後用記事本開啟Appserv目錄下的apache\conf\httpd.conf這個檔案,
然後找到以下這段文字:
<Directory "C:/AppServ/www">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks MultiViews
然後在MultiViews後面空一格加上ExecCGI
尋找到:
#
# Apache parses all CGI scripts for the shebang line by default.
# This comment line, the first line of the script, consists of the symbols
# pound (#) and exclamation (!) followed by the path of the program that
# can execute this specific script. For a perl script, with perl.exe in
# the C:\Program Files\Perl directory, the shebang line should be:
#!c:/usr/bin/perl.exe
以上那一行是已經修改過的了,請改成你的本機的安裝目錄
然後存檔重新啟動這樣就行了!!
希望大家都能成功喔!
書籤