看板 FreeBSD 關於我們 聯絡資訊
※ 引述《redhairer (冷靜~什麼都搞得定....)》之銘言: > 可以耶 可是要打當初設ssl 的密碼 > 可以讓他自行讀密碼檔嗎 > 還是每次重開機都要 重打一次 抱歉,原先看的時候沒仔細看你是用 www/apapche21 ~_~" 因為我用通常是 www/apapche13-modssl 或 www/apapche2 (aka apapche20) 真糗啊..:p 不過 Biboman 長輩說得沒錯 :) 就是你的 /etc/rc.conf 要有這兩行才行 apache21_enable="YES" apache21ssl_enable="YES" 至於 ssl 啟動方面.. 你可以先裝一下 expect(/usr/ports/lang/expect) 參考下面類似下面的 script 作法吧,記得權限安全注意一下 :) #!/usr/local/bin/expect -- spawn /usr/local/sbin/apachectl startssl expect "Enter pass phrase:" send "ssl密碼\r" expect "started" send_user "Start Apache SSL Server!" -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: 220-135-48-40.hinet-ip.hinet.net ◆ Modify: 05/08/04 17:16:49 <220-135-48-40.hinet-ip.hinet.net>