aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-08-28 14:57:00 +0100
committerLouise Crow <louise.crow@gmail.com>2013-09-16 15:43:11 +0100
commitc2b7edc20c7002109b68e84b4f12f8182ba03f00 (patch)
tree5232e100f234548c64e52d611d1b6e52b527e69a
parent56ce526acdcb1b5493bc11f14b751b5c3f02f686 (diff)
Add some upgrade notes.
-rw-r--r--config/httpd.conf-example10
-rw-r--r--doc/CHANGES.md13
2 files changed, 23 insertions, 0 deletions
diff --git a/config/httpd.conf-example b/config/httpd.conf-example
index 1326252f5..dc2e4966e 100644
--- a/config/httpd.conf-example
+++ b/config/httpd.conf-example
@@ -69,3 +69,13 @@ RewriteRule ^/request/((\d{1,3})\d*)/(response/\d+/attach/(html/)?\d+/.+) /views
AddOutputFilterByType DEFLATE font/opentype font/truetype font/eot
AddOutputFilterByType DEFLATE image/svg+xml
</IFModule>
+
+# Set the Sendfile header and switch sendfile on - Apache will
+# now handle send_file calls from Alaveteli
+<Location />
+ <IfModule mod_xsendfile.c>
+ RequestHeader Set X-Sendfile-Type X-Sendfile
+ XSendFile On
+ XSendFileAllowAbove On
+ </IfModule>
+</Location>
diff --git a/doc/CHANGES.md b/doc/CHANGES.md
index 7a22f44e2..7eed1f8ea 100644
--- a/doc/CHANGES.md
+++ b/doc/CHANGES.md
@@ -1,3 +1,16 @@
+#rails-3-develop
+
+## Highlighted features
+* Individual incoming and outgoing messages can be made hidden, or requester_only from the admin interface.
+* Zip downloads now can be run in single-threaded instances, and use send_file rather than a redirect to serve up cached zip files.
+
+## Upgrade notes
+* By default, Alaveteli will now serve up request zip files itself, which will occupy a Rails process until the file has been received. To pass these files off to Apache, and free up the Rails process, install the libapache2-mod-xsendfile package, and update your httpd.conf file with the new Sendfile clause at the end of config/httpd.conf-example).
+* In your production install, from the Alaveteli directory (as the Alaveteli deploy user), run the following commands to remove the zip download directory from direct access by your webserver, and preserve any cached zip files:
+`mkdir cache/zips/production/`
+`mv cache/zips/download cache/zips/production/download`
+`rm public/download`
+
# Version 0.12
## Highlighted features
* Remove support for theme stylesheet inclusion via template (deprecated in version 0.5)