Alexander Dutton wrote: > > The alternative would be to stick an Alias in your apache conf (assuming > you're using apache) to serve the files directly from the filesystem. > This solution wouldn't let you perform any authorisation, though. >
N.B. There is nowadays the X-SendFile thing, should be mentioned a fair few times in the list archive, you can do authorization in the django view then hand an order to apache to serve the file from the fs. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.