diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-09-15 13:21:57 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-09-15 13:21:57 +0100 |
commit | c9e9f598388b3cea15684328f63b8b376f8b81b8 (patch) | |
tree | d2b1b2a4e0f1bafe43bcf730cde7915c743cfb40 | |
parent | 4757eb388a03728fd162890a24707cfbeb8a8983 (diff) |
Mention changes necessary to follow symlinks when hosting with Passenger
-rw-r--r-- | config/httpd.conf | 1 | ||||
-rw-r--r-- | doc/CHANGES.md | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/config/httpd.conf b/config/httpd.conf index d5e86478a..108402f69 100644 --- a/config/httpd.conf +++ b/config/httpd.conf @@ -35,4 +35,5 @@ RewriteRule /files/(.+) http://files.whatdotheyknow.com/$1 <IfModule mod_passenger.c> # Set this to something like 100 if you have memory leak issues PassengerMaxRequests 0 + PassengerResolveSymlinksInDocumentRoot on </IfModule>
\ No newline at end of file diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 37ef57c2a..01d9035a7 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -12,7 +12,7 @@ * Install wkhtmltopdf to enable PDFs in downloadable zipfiles. A static binary is recommended on Linux in order to run the command headless: http://code.google.com/p/wkhtmltopdf/downloads/list -* Ensure your webserver can serve up generated files by symlinking `cache/zips/download` to `public/download` (this is also done by the `rails-post-deploy` script) +* Ensure your webserver can serve up generated files by symlinking `cache/zips/download` to `public/download` (this is also done by the `rails-post-deploy` script). If you're using Passenger + Apache, you'll need to add a `PassengerResolveSymlinksInDocumentRoot on` directive to the configuration. * Configure your MTA to handle bounce emails from alerts (see INSTALL-exim4.md) ## Highlighted features |