1
我試圖在運行lighttpd的樹莓派上安裝ikiwiki。關於lighttpd的ikiwiki
我可以在我的用戶家中的wiki,但一旦我試試,看看它的網絡服務器(在地址+「〜/用戶名/ wikiname」),則返回404
鏈接維基目錄/var/www
導致500錯誤。
我做錯了什麼或缺少什麼東西?
正如意見中的要求,這是我lighttpd.conf:
server.modules = (
"mod_access",
"mod_alias",
"mod_compress",
"mod_redirect",
#"mod_rewrite",
"mod_fastcgi"
)
server.modules += ("mod_scgi")
scgi.server = (
"/RPC2" =>
("127.0.0.1" =>
(
"socket" => "/tmp/rpc.socket",
"check-local" => "disable",
"disable-time" => 0, # don't disable scgi if connection fails
)
)
)
fastcgi.server = (".php" =>
("localhost" =>
(
"min-procs" => 1,
"max-procs" => 2,
"max-load-per-proc" => 4,
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/bin/php5-cgi"
)
)
)
server.document-root = "/var/www"
server.upload-dirs = ("/var/cache/lighttpd/uploads")
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 80
index-file.names = ("index.php", "index.html", "index.lighttpd.html")
url.access-deny = ("~", ".inc")
static-file.exclude-extensions = (".php", ".pl", ".fcgi")
compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ("application/javascript", "text/css", "text/html", "text/plain")
# default listening port for IPv6 falls back to the IPv4 port
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
我也執行的步驟突出的位置:http://ikiwiki.info/tips/dot_cgi/
你的lighttpd配置是什麼? – j0k