From eefdfbfa38769a8dcb67c9d913da8d0972d43a62 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 24 Mar 2011 16:44:59 -0400 Subject: [PATCH] Added a FAQ entry explaining how to enable x-sendfile support for apache --- docs/FAQ | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/FAQ b/docs/FAQ index 4b82cddde5..bfd281e18c 100644 --- a/docs/FAQ +++ b/docs/FAQ @@ -51,8 +51,16 @@ - Filesystem metadata indexing will not work with this storage backend as file are inside a MongoDB database and can't be linked (at least for now) + * Site search is slow - Add indexes to the following fields: documents_document - description, recomended size: 160 documents_documentmetadata - value, recomended size: 80 documents_documentpage - content, recomended size: 3000 + + +* How to enable x-sendile support for Apache + - Add SENDFILE_BACKEND = 'sendfile.backends.xsendfile' to your settings.py file + - On your apache configuration file add: + XSendFile on + XSendFileAllowAbove on