如何在lighttpd上使用Juliar编程语言?

时间:2016-10-20 18:06:28

标签: server lighttpd

我已经使用这种新语言了一段时间,现在我想在Lighttpd上使用juliar没有指南。但是有一个Apache和Nginx的指南。如何为Lighttpd配置我的服务器?

1 个答案:

答案 0 :(得分:0)

Unfortunately, Juliar doesn't officially support lighttpd. However, you can do the following:

Open your lighttpd.conf file and add the following:

server.modules = (
    "mod_fastcgi",
)

fastcgi.server += ( ".ju" => 
    ((
        "host" => "127.0.0.1",
        "port" => "9000",
        "broken-scriptfilename" => "enable"
    ))
)

index-file.names=("index.ju","index.html")

Then just use "linuxspawn.sh" script and reload your lighttpd server.