安裝lighttpd網頁伺服器
ipkg install lighttpd ipkg install php-fcgi
停用lighttpd
/opt/etc/init.d/S80lighttpd stop
編輯 /opt/etc/lighttpd/lighttpd.conf
nano /opt/etc/lighttpd/lighttpd.conf
進入nano開始編輯
按Ctrl+W可以搜尋字串位置
搜尋 mod_fastcgi
移除前面的# 開啟fastcgi支援
搜尋 server.port
將數值從預設的8081改成80
搜尋 url.access-deny
內容改為
url.access-deny = ( "~", ".inc",".sqlite" )
搜尋 # server.event-handler = "freebsd-kqueue" # needed on OS X 改成
server.event-handler = "poll" # needed on OS X
完成後Ctrl+X存檔
接著啟動lighttpd
/opt/etc/init.d/S80lighttpd start
接著去瀏覽測試是否有出現lighttpd server is running
REF:http://digiland.tw/viewtopic.php?id=406
REF:http://wl500g.info/showthread.php?t=20306&page=7
全站熱搜
留言列表