Re: [請益] 使用內建的ftpd如何提供網頁功能
用 ports 裝的 apache 的話會在 /usr/local/etc/rc.conf 產生個 apache.sh
檔案,開機自動會去讀取並執行這個 apache.sh, 無須設定任何使用者或群組.
倒是稍新版本的 apache 會需要在 /etc/rc.conf 中加上
apache_enable="YES"
這樣上述的 apache.sh 才可以執行。
> 我是用stand alone方式
> 我原文沒講得很清楚,目前的確是卡在apache上 我的httpd始終無法啟動
> httpd裡設定的name跟group也不能設root
> 而用root當設定又會有安全性的問題
> 如果設個系統內的帳號
> 用root啟動apache卻會發生httpd無法啟動的錯誤訊息
> 到底是怎麼回事呢?
> 謝謝解答
--
"There are no differences but differences of degree between
different degrees of difference and no difference at all."
- William James, under the influence of nitrous oxide.
--
【芭樂的故鄉 bala.twbbs.org】 From:218-163-150-66.dynamic.hinet.net
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章