Hi,

I'm deploying Django behind lighttpd and have official-docs-like
config:

    fastcgi.server = (
      "/django.fcgi" =>
        ((
            "socket" => "/path/to.socket",
            "check-local" => "disable",
        ))
    )

        alias.url += (
            "/media" =>  "/path/to/app/media/"
        )

        url.rewrite-once = (
                "^(/media.*)$" => "$1",
               "^(/.*)$" => "/django.fcgi$1",
        )


However, when I'm redirecting user using reverse() (like, {% url login
%}, user gets redirected to /django.fcgi/login/ instead of /login/.

Anyone else having this issue? Any reasonable solution/workaround?

Almad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to