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",
  )

}

link|improve this question
I might be mistaken, but should this line be: "^(/.*)$" => "/webEval.fcgi?$1", – Colum Jun 5 '11 at 11:20
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.