1 頁 (共 1 頁)

在 Apache 上跑 cgi

發表於 : 02/13/2003 10:41 pm
ross_tt
請教一個新手級的問題?

怎麼讓 OSX 上的 Apache 可以跑 cgi ?

Re: 在 Apache 上跑 cgi

發表於 : 02/14/2003 3:31 am
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?

Re: 在 Apache 上跑 cgi

發表於 : 02/14/2003 12:03 pm
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 所以也沒發現這個問題。

Re: 在 Apache 上跑 cgi

發表於 : 02/14/2003 9:58 pm
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.

Re: 在 Apache 上跑 cgi

發表於 : 02/15/2003 9:52 am
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 兄的指導。