# Apache configuration for using plugin Xsendfile

**URL:** <https://www.ruby-forum.com/t/apache-configuration-for-using-plugin-xsendfile/147424>\
**Category:** Rails\
**Created:** [September 1, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/apache-configuration-for-using-plugin-xsendfile/147424 "2008-09-01T18:41:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![divya](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@divya](https://www.ruby-forum.com/u/divya)\
**Post date:** [September 1, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/apache-configuration-for-using-plugin-xsendfile/147424/1 "2008-09-01T18:41:18Z")

</div>

Hello  
I am facing some problem in using the plugin Xsendfile(http://  
john.guen.in/rdoc/x\_send\_file/).Here in README for setting up web  
server , the author has given a link to

> **[Скачать лучшие программы и приложения для Windows, Android, iOS и MacOS —...](https://soft.mydiv.net/)**
>
> Лучшие программы - скачивание, отзывы, обзоры, форумы и бесплатное скачивание для Windows, Android, MacOS и iOS

.But when I try to Install mod\_xsend\_file.c  
I am getting an error  
apxs:Error: Activation failed for custom /etc/apache2/httpd.conf  
file…  
apxs:Error: At least one `LoadModule’ directive already has to exist…  
I tried to load this module manually from /etc/apache2/apache.conf but  
apache2 fails to restart .Kindly suggest a way to make this plugin  
work.Basically to include this module on apache2.  
I am using RAILS 1.2.3 and Apache/2.2.8 (Ubuntu).

Thanks in advance
