I try to deploy django with lighttpd, but it isn't working as I expected. Everything works, with a small exception. If i try to access /, it works, but all the links are prefixed with webeval.fcgi.
This is my lighttpd.conf:
$HTTP["host"] =~ "(^|\.)webeval\.no\-ip\.org$" {
fastcgi.server = (
"/webEval.fcgi" => (
"main" => (
"host" => "127.0.0.1",
"port" => "8080",
"check-local" => "disable",
)
),
)
url.rewrite-once = (
"^(/media.*)$" => "$1",
"^/favicon\.ico$" => "/media/favicon.ico",
"^(/.*)$" => "/webEval.fcgi$1",
)
}