Results 1 to 3 of 3

Thread: Apache2 + Hardy + x sendfile mod

  1. #1
    Join Date
    Dec 2008
    Beans
    2

    Apache2 + Hardy + x sendfile mod

    I have been trying to figure out how to install this mod on Ubuntu. Can anyone point me to a good resource? I have tried installing it most recently with "aptitude install libapache2-mod-xsendfile" but when I try to enable it I get an error. I used this to enable:

    XSendFile on
    XSendFileAllowAbove on

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Mar 2006
    Beans
    87

    Re: Apache2 + Hardy + x sendfile mod

    Quote Originally Posted by delahappy View Post
    I have been trying to figure out how to install this mod on Ubuntu. Can anyone point me to a good resource? I have tried installing it most recently with "aptitude install libapache2-mod-xsendfile" but when I try to enable it I get an error. I used this to enable:

    XSendFile on
    XSendFileAllowAbove on

    Any help would be greatly appreciated.
    apt-cache search xsendfile doesn't show anything. Did you manage to install it? -- I'm on Jaunty.

  3. #3
    Join Date
    Jan 2009
    Location
    VA
    Beans
    9
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Apache2 + Hardy + x sendfile mod

    Install the apache dev headers:

    $> sudo apt-get install apache2-prefork-dev

    This will install apxs2 needed to compile the module.

    You can compile the module as outlined here: http://tn123.ath.cx/mod_xsendfile/

    It will fail with an error pertaining to httpd.conf; just igone it.

    All that you need to do from here is add the module in the mods-available folder.

    $> cd /etc/apache2/mods-available

    $> sudo nano -w xsendfile.load


    copy and paste the following line into the editor:

    LoadModule xsendfile_module /usr/lib/apache2/modules/mod_xsendfile.so

    save the file.

    $> sudo a2enmod xsendfile

    $> sudo /etc/init.d/apache2 restart


    That should be it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •