WebFaction
Community site: login faq

My application needs XSendfile to serve protected files to registered users of my website.

I read on another post (http://forum.webfaction.com/viewtopic.php?id=3226) that the only way to get this to work was to start a Custom App, download the apache source and then compile it from scratch to get access to the apxs function and then compile mod_xsendfile. Is this still considered the best way to enable xsendfile or is there a better way? Would it work if you just downloaded a pre-compiled version of mod_xsendfile and put it in the modules directory?

Sorry for being such a whiner....

asked 15 Dec '10, 20:03

ron
4127
accept rate: 0%

edited 28 May '11, 20:16

ryans ♦♦
5.0k93260


Tried this and it worked: http://forum.webfaction.com/viewtopic.php?pid=18733

Don't forget to specify

XSendFile on
XSendFilePath /full/path/to/those/files/I/wanna/send/

in your httpd.conf file (for mod_xsendfile 0.12 and up)

permanent link

answered 15 Dec '10, 21:12

ron
4127
accept rate: 0%

edited 15 Dec '10, 21:14

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×225
×102
×6
×6
×5

question asked: 15 Dec '10, 20:03

question was seen: 5,996 times

last updated: 28 May '11, 20:16

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM