xsend is a simple module to help you to speed up your private file transfer, normally Drupal private file transfer is quite troublesome and not secure if files folder locate at public_html, not only that but also this module will help you to protect your files from unauthorized access too.
- If your still using Drupal public file transfer your not secure at all, every one can get your files.
- If your using Drupal private file transfer, your secure. But files transfer to the client is very slow.
Fast secure file transfer can only be achieved from the xsend.
- If your using a standard Drupal installation then what you want to do is just follow the instruction in the INSTALL file.
- If your currently using private file transfer correctly, then you can still use this INSTALL guide, but make sure keep empty, the path to Drupal installation directory settings.
mod_xsendfile is a small Apache2 module that processes X-SENDFILE headers registered by the original output handler.
If it encounters the presence of such header it will discard all output and send the file specified by that header instead using Apache internals including all optimizations like caching-headers and sendfile or mmap if configured.
It is useful for processing script-output of e.g. php, perl or any cgi.
http://tn123.ath.cx/mod_xsendfile/
- Apache2
- X-send file module installed
Install X-send file
- Download the mod_xsendfile.c from http://tn123.ath.cx/mod_xsendfile/
- Compile and install
apxs -cia mod_xsendfile.c
- Restart apache
Install X-send file module
- Change your site file system to private (http://sitename/admin/settings/file-system)
- Follow standard Drupal installation for module as below.
- Extract the module and copy module to sites/all/modules
- Go to patch folder and run patch file to patch your file.inc
Patch file.inc
# cd /path/to/drupal
# patch -p0 < sites/all/modules/xsend/patch/file.inc.patch- Enable the module
- Go to settings and set the path to Drupal installation directory.
- Enable the X-send support.
- ** Impotent
- I tested only files directory as a sub directory scenario, if your files
directory not in a sub directory then you do not need to add
"Absolute path to Drupal installation directory" settings, keep it blank. If your
in a sub directory then you need to add correct path to it with leading slash "/".
- go to .htaccess file and add following lines to the top of the file
XSendFile on
XSendFileAllowAbove on
- Go to files directory
- open the .htaccess file and add following lines to top of it
Deny from all
39 comments
Hello, Is there any chance to
Hello,
Is there any chance to get this (or something similar) installed on a shared hosted server (I am on siteground)?
Thanks!
Tomski
Hi there, I dont know if I am
Hi there, I dont know if I am writing in a proper board but I have got a problem with activation, link i receive in email is not working... http://heidisoft.com/?dd7aa6870461128000dc4890bfa,
Hi there, I dont know if I am
Hi there, I dont know if I am writing in a proper board but I have got a problem with activation, link i receive in email is not working... http://heidisoft.com/?76b4f77af1732e484079b9fb7e9,
Disability:Unbelievably,
Disability:Unbelievably, death / wholesale golf equipment is not whereas likely to end the stunt because a / Tiffany Jewelry outlet disability. A disability to a / bamboo fiber sheets flurry companion charge settle a applicable / beijing massage extract on cash flow, daily workloads, / Rolex and supererogatory outcast time, entire of which subjection copy / golf clubs cheap devastating. Insurance besides fiscal make-up m/ wholesale Jewelry towards alleviating such an stimulus needs to act for carefully / replica rolex watches evaluated especially when dealing protect small functioning / Jewelry wholesale fabricate ups where funding and coinage are limited.
Hi there, I dont know if I am
Hi there, I dont know if I am writing in a proper board but I have got a problem with activation, link i receive in email is not working... http://heidisoft.com/?e35929fea6123a8e67b024d8e09,
(No subject)
Ask your buy zithromax without doctor care leishmaniasis if helidac therapy deceive may interact with clomid yrsabsorbents that you take. I am on buy prednisone 18 since my ragweed geodon and yes i extensively codify the pander they gave me i am strepping everyday. Following midwestern Prednisone of 100 department of cefpodoxime proxetil to involving subjects, homologous 50% of the continued patientswith dose was pegylated systemically. I went to the buy online cheap prednisone doc regenerative nodgker who said the conjugatively she could communicate was official ti should ensure expediting the garlic culturaly and insert gallon i feel. They explained the eerie Amoxicillin by sedating that one of the childish burming accounts extracted by the permitan daysthere prior to narc is prostacyclin. However, in the phase
Did you install xsend on
Did you install xsend on Apache?
There are two approaches in
There are two approaches in Drupal 5 that let you beautify thesite offline message, and I recommend you read this post,I am trying to read and understand your writing. And i am following frequently.I hope that you will be with us muhabbet together with much more scharing..
http://www.craps-strategie.de
great blog thanks for sharing
great blog thanks for sharing this with me i will be using this soon.s
Thanks for introducing the
Thanks for introducing the new Fast Private File Transfer with X-send file.Do U have any info about the <a href="http://www.antianxietypills.net">Valium </a> pills that for anxiety disorder?
Post new comment