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:

Hope I saved someone some time 🙂

Leave a Reply

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

You are commenting using your 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: