I read it and it seems nice, I will further read about the topic Thanks a lot for the help :)
On Thu, Nov 29, 2012 at 1:44 PM, Tom Evans <tevans...@googlemail.com> wrote: > On Thu, Nov 29, 2012 at 11:30 AM, Loai Ghoraba <loai1...@gmail.com> wrote: > > I am still new to sreving stuff (in fact I know barely anything about it > :)) > > Then you instruct to have something like this > > > > url(r'^media/(?P<path>.*)$', 'myview,func', { > > 'document_root': MEDIA_ROOT, > > }), > > > > and my func have the instructions to the real web servers ? > > Read up on X-Sendfile and if anything doesn't make sense, ask some > questions on here. > > http://stackoverflow.com/questions/7296642/django-understanding-x-sendfile > > > > > And another question: Does this applies also to light static files like > css > > and javascript ? > > It applies to any file you want to control access to via django. > > Cheers > > Tom > > -- > 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. > > -- 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.