Re: 我的perl怪怪的 - BBS

By Skylar DavisLinda
at 2004-05-02T16:49
at 2004-05-02T16:49
Table of Contents
這樣一來
http://xxx.com/xxx.pl
就無法執行
必須將*.pl 改為 *.cgi才能正常
怎麼辦呢??
而httpd.conf有二行
AddHandler cgi-script .cgi .pl
AddHandler perl-script .pl
這樣不會很奇怪嗎???
※ 引述《[email protected] (MDaemon 不錯用喔 ^_)》之銘言:
: > 之前我perl在apache上跑的好好的
: > 結果我忘記我改了什麼
: > 在網頁上就無法執行.pl的程式
: > 必須改成xxx.cgi才有辦法正常執行
: > 請問我哪邊弄錯了呢?? thanks~
: httpd.conf 搜尋 .cgi,加個 .pl 在後面就好了。
--
http://xxx.com/xxx.pl
就無法執行
必須將*.pl 改為 *.cgi才能正常
怎麼辦呢??
而httpd.conf有二行
AddHandler cgi-script .cgi .pl
AddHandler perl-script .pl
這樣不會很奇怪嗎???
※ 引述《[email protected] (MDaemon 不錯用喔 ^_)》之銘言:
: > 之前我perl在apache上跑的好好的
: > 結果我忘記我改了什麼
: > 在網頁上就無法執行.pl的程式
: > 必須改成xxx.cgi才有辦法正常執行
: > 請問我哪邊弄錯了呢?? thanks~
: httpd.conf 搜尋 .cgi,加個 .pl 在後面就好了。
--
Tags:
BBS
All Comments
Related Posts
我的perl怪怪的

By Necoo
at 2004-05-02T08:21
at 2004-05-02T08:21
rc版的Hardware Notes?

By Lily
at 2004-05-01T19:08
at 2004-05-01T19:08
login畫面

By Rae
at 2004-05-01T16:10
at 2004-05-01T16:10
Re: stardict make error

By Edward Lewis
at 2004-04-30T03:10
at 2004-04-30T03:10
用port裝apache可以自定目錄嗎

By Charlotte
at 2004-04-27T21:41
at 2004-04-27T21:41