mod-x-sendfile

I want to quickly share some links about the Apache module x-sendfile and its use in Django on Ubuntu running Apache.

 

I didn’t have apxs installed so I was not able to compile the code. However, the following worked for me:

From this link :

sudo apt-get install libapache2-mod-xsendfile

is the command I found that got me up and running with x-sendfile in Apache.

 

In order to get xsendfile working with Django, the following links were helpful:

https://tn123.org/mod_xsendfile/
http://stackoverflow.com/questions/1609273/how-to-make-a-private-download-area-with-django
http://blog.zacharyvoase.com/2009/09/08/sendfile/
http://stackoverflow.com/questions/1156246/having-django-serve-downloadable-files
http://stackoverflow.com/questions/7296642/django-understanding-x-sendfile
http://pypi.python.org/pypi/django-sendfile/0.3.0

Hope I saved someone some time 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: