On 25 March 2011 12:34, Thomas Guettler <h...@tbz-pariv.de> wrote: > Hi, > > I look at your example code. You need to name the webserver in the > code. That's not very nice. I guess it should be possible to > guess the webserver (apache vs nginx) by looking at request.META. >
-1 on guessing anything, especially something that doesn't change. Also, a fairly common configuration is Apache behind an nginx proxy. In this setup, I want nginx will be the one serving static files, not Apache. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.