Re: Django 1.0 lighttpd FastCGI redirect issue

2008-09-16 Thread Anders Bergh
On Tue, Sep 16, 2008 at 10:25 AM, Wim Feijen <[EMAIL PROTECTED]> wrote: > > Hi Anders, > > For me, removing the slash in the FORCE_SCRIPT_NAME seemed to work. I > am not using the admin interface, so I can't check on that. > > So I added to settings.py: > > FORCE_SCRIPT_NAME="" > > I totally agree

Re: Django 1.0 lighttpd FastCGI redirect issue

2008-09-16 Thread Grigory Fateyev
Hello Wim Feijen! On Tue, 16 Sep 2008 01:25:58 -0700 (PDT) you wrote: > > Hi Anders, > > For me, removing the slash in the FORCE_SCRIPT_NAME seemed to work. I > am not using the admin interface, so I can't check on that. > > So I added to settings.py: > > FORCE_SCRIPT_NAME="" > > I totally a

Re: Django 1.0 lighttpd FastCGI redirect issue

2008-09-16 Thread Wim Feijen
Hi Anders, For me, removing the slash in the FORCE_SCRIPT_NAME seemed to work. I am not using the admin interface, so I can't check on that. So I added to settings.py: FORCE_SCRIPT_NAME="" I totally agree that this change with great consequences for all lighttpd users is poorly documented. Be

Re: Django 1.0 lighttpd FastCGI redirect issue

2008-09-12 Thread Anders Bergh
On Sat, Sep 13, 2008 at 4:23 AM, Ramiro Morales <[EMAIL PROTECTED]> wrote: > Have you tried what's suggested in > > http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#ChangedthewayURLpathsaredetermined > > (under the "lighttpd + fastcgi (and others)" sub-section)? > Ack, I was a litt

Re: Django 1.0 lighttpd FastCGI redirect issue

2008-09-12 Thread Anders Bergh
On Sat, Sep 13, 2008 at 4:23 AM, Ramiro Morales <[EMAIL PROTECTED]> wrote: > Have you tried what's suggested in > > http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#ChangedthewayURLpathsaredetermined > > (under the "lighttpd + fastcgi (and others)" sub-section)? > Thanks! I had mis

Re: Django 1.0 lighttpd FastCGI redirect issue

2008-09-12 Thread Ramiro Morales
On Fri, Sep 12, 2008 at 9:33 PM, Anders Bergh <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to host a Django 1.0 project on lighttpd 1.4.19 on Linux, > following the lighttpd FastCGI in the Django documentation. However, > it doesn't work, it seems to redirect to /mysite.fcgi for almost > anyt

Django 1.0 lighttpd FastCGI redirect issue

2008-09-12 Thread Anders Bergh
Hi, I'm trying to host a Django 1.0 project on lighttpd 1.4.19 on Linux, following the lighttpd FastCGI in the Django documentation. However, it doesn't work, it seems to redirect to /mysite.fcgi for almost anything I do. Here's the config: $HTTP["host"] == "labs.lamepunch.org" { fastcgi.serv