ikiwiki on lighttpd

ikiwiki on lighttpd,lighttpd,ikiwiki,Lighttpd,Ikiwiki,我正在尝试在运行lighttpd的raspberry pi上安装ikiwiki 我可以在用户的家中创建wiki,但一旦我尝试在Web服务器上查看它(地址为+“~/username/wikiname”),它将返回404 将wiki目录链接到/var/www会导致500错误 我做错了什么或错过了什么 根据评论中的要求,以下是我的lighttpd.conf: server.modules = ( "mod_access", "mod_alias", "mod_compress"

我正在尝试在运行lighttpd的raspberry pi上安装ikiwiki

我可以在用户的家中创建wiki,但一旦我尝试在Web服务器上查看它(地址为+“~/username/wikiname”),它将返回404

将wiki目录链接到
/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"

我还执行了此处突出显示的步骤:

答案在您发布的配置文件中。包含以下内容的行:

url.access-deny             = ( "~", ".inc" )

这将阻止您的url请求,请尝试从配置文件中删除。

您的lighttpd配置是什么?