在 Apache 上跑 cgi

Mac OS X 平台上程式設計的相關問題討論

版主: bryanchangdigdog謝孟叡

回覆文章
內容
發表人
頭像
ross_tt
冰果室最佳貢獻男
文章: 8062
註冊時間: 05/25/2001 1:01 am
來自: 台灣/高雄市

在 Apache 上跑 cgi

#1 文章 ross_tt »

請教一個新手級的問題?

怎麼讓 OSX 上的 Apache 可以跑 cgi ?
fddi1
留言破百
文章: 188
註冊時間: 05/03/2001 1:01 am
來自: USA/Seattle, WA
聯繫:

Re: 在 Apache 上跑 cgi

#2 文章 fddi1 »

ross_tt 寫:請教一個新手級的問題?

怎麼讓 OSX 上的 Apache 可以跑 cgi ?
You have to be more specific. Do you want to have cgi-bin access from the user directories, or do you want to have cgi-bin access from the root htdocs directory?
Podcast節目
AIRLOG podcast
SNAPPLE LAB 實驗試管
AIRLOG podcast在iTMS上的列表
頭像
ross_tt
冰果室最佳貢獻男
文章: 8062
註冊時間: 05/25/2001 1:01 am
來自: 台灣/高雄市

Re: 在 Apache 上跑 cgi

#3 文章 ross_tt »

fddi1 寫: You have to be more specific. Do you want to have cgi-bin access from the user directories, or do you want to have cgi-bin access from the root htdocs directory?
要怎麼講呢? 狀況是這樣的,我朋友跟我借 PB 要試一些東西。我把他要測試用的東西放到 /Users/aaa/sites 下面讓他試。結果他說不能跑 cgi 。

因為我自己都是用 php + mysql 所以也沒發現這個問題。
fddi1
留言破百
文章: 188
註冊時間: 05/03/2001 1:01 am
來自: USA/Seattle, WA
聯繫:

Re: 在 Apache 上跑 cgi

#4 文章 fddi1 »

ross_tt 寫: 要怎麼講呢? 狀況是這樣的,我朋友跟我借 PB 要試一些東西。我把他要測試用的東西放到 /Users/aaa/sites 下面讓他試。結果他說不能跑 cgi 。

因為我自己都是用 php + mysql 所以也沒發現這個問題。
By default, Apache doesn't enable cgi-bin under the user directory. You'll have to turn it on in the httpd.conf file.
Podcast節目
AIRLOG podcast
SNAPPLE LAB 實驗試管
AIRLOG podcast在iTMS上的列表
頭像
ross_tt
冰果室最佳貢獻男
文章: 8062
註冊時間: 05/25/2001 1:01 am
來自: 台灣/高雄市

Re: 在 Apache 上跑 cgi

#5 文章 ross_tt »

fddi1 寫: By default, Apache doesn't enable cgi-bin under the user directory. You'll have to turn it on in the httpd.conf file.
了解,我試試看。

謝謝 fddi1 兄的指導。
回覆文章