I would like to get mod xsendfile installed on my debian lenny server but I can not seem to find a deb anywhere not even on backports
When installing from source : http://tn123.ath.cx/mod_xsendfile/ it seems the installer gets a bit angry when trying to muck around with apache conf files.
I can kind of get this all to hand together, but was wondering are any clean steps to get xsendfile installed on apache?
(Side question: is there a reason its not in the mainstream repos - is there something inherently unstable about it?)
The package is in squeeze/sid, just install libapache2-mod-xsendfile after adding either repo to your /etc/apt/sources.list.
I dont know why it wasnt included before. Its not in stable atleast, that much i know.
EDIT:
I dont have the rank to edit other users posts but here goes Sam.
If you want to use dpkg -i to install the package you will have to download the individual package, choose architecture and download.
example:
I suggest adding squeeze or sid to /etc/apt/sources.list and then use apt (will download, install and satisfy any dependencies for the package):
If you want to use apt-pinning use something like this in your /etc/apt/preferences
This will cause stable to be of higher priority than testing(squeeze) and unstable(sid) and thus use stable as default when downloading packages with the apt tools.
You should follow artifexs advice but you should be careful when adding the unstable/sid repository to your apt configuration! Packages from unstalbe7sid will override the ones from stable/lenny when doing an apt-get upgrade. You should use apt pinning to downgrade the priority of unstable/sid. Otherwise you will run into troubles during your next upgrade.