How to install xsend file on Ubuntu

To install X-SendFile in Apache2, run the following:
sudo aptitude install libapache2-mod-xsendfile
And to make sure you enable it, run the following
sudo a2enmod xsendfile
Add the following two lines in your VirtualHost file, like so:


XSendFile on
XSendFileAllowAbove on

Advertisements

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 )

Google photo

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

Connecting to %s