在 Apache 上跑 cgi
發表於 : 02/13/2003 10:41 pm
請教一個新手級的問題?
怎麼讓 OSX 上的 Apache 可以跑 cgi ?
怎麼讓 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?ross_tt 寫:請教一個新手級的問題?
怎麼讓 OSX 上的 Apache 可以跑 cgi ?
要怎麼講呢? 狀況是這樣的,我朋友跟我借 PB 要試一些東西。我把他要測試用的東西放到 /Users/aaa/sites 下面讓他試。結果他說不能跑 cgi 。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?
By default, Apache doesn't enable cgi-bin under the user directory. You'll have to turn it on in the httpd.conf file.ross_tt 寫: 要怎麼講呢? 狀況是這樣的,我朋友跟我借 PB 要試一些東西。我把他要測試用的東西放到 /Users/aaa/sites 下面讓他試。結果他說不能跑 cgi 。
因為我自己都是用 php + mysql 所以也沒發現這個問題。
了解,我試試看。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.