1. using mod_xsendfile

    Zena now supports “XSendFile” headers (faster downloads for clients and less time spent in zena processes).

    To enable xsendfile on Use package from Caspar Clemens Mierau. Add these sources at the end of /etc/apt/sources.list:

    deb http://ppa.launchpad.net/damokles/ubuntu hardy main
    deb-src http://ppa.launchpad.net/damokles/ubuntu hardy main

    Update sources list and install mod_xsendfile:

    $ apt-get update
    $ aptitude install libapache2-mod-xsendfile
    $ a2enmod xsendfile

    Add these lines at the end of the configuration settings for apache2 (file /etc/apache2/conf.d/zena) :

    XSendFile on
    XSendFileAllowAbove on
    

    enable

    Change the following line in /var/zena/current/config/zena.rb:

    ENABLE_XSENDFILE = true
    

    Gaspard Bucher

    comments

    1. leave a comment