Wednesday, February 24, 2010

Re: Lighttpd and Django

> It's in the documentation at:
> <http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/#forcing-the-url-prefix-to-a-particular-value>.

Ok, I did see that, but I didn't understand it. I took the recomended
setting, and put FORCE_SCRIPT_NAME='' into my settings.py, and it
worked, but I don't understand what it's doing. Does django assemble
the request.path by concatenating a given script name with a given
request path? Or, is lighttpd actually giving me an ugly path, and
that FORCE_SCRIPT_NAME variable is making django strip out the first
element? The first of those seems more likely, but either behaviour
seems sort of odd.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate