diff options
author | Jason Nochlin <hundredwatt@gmail.com> | 2014-06-11 07:01:42 -0400 |
---|---|---|
committer | Jason Nochlin <hundredwatt@gmail.com> | 2014-06-11 07:01:42 -0400 |
commit | 02ef0313419f50ac09ec782cf042ed7f43d129c7 (patch) | |
tree | 087ca5abed27eeb0ab93f8594f597b4dde4e894c /guides | |
parent | 4aa25d4c76b5487caf2b35e677b72ece595f400f (diff) | |
download | rails-02ef0313419f50ac09ec782cf042ed7f43d129c7.tar.gz rails-02ef0313419f50ac09ec782cf042ed7f43d129c7.tar.bz2 rails-02ef0313419f50ac09ec782cf042ed7f43d129c7.zip |
Fix Apache Directives [ci skip]
Directives need to be placed on their own lines in order to work. Tested on: `Server version: Apache/2.2.22 (Ubuntu); Server built: Mar 19 2014 21:11:15`
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/asset_pipeline.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index c81e9e58e3..de3049237e 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -788,9 +788,11 @@ For Apache: # `mod_expires` to be enabled. <Location /assets/> # Use of ETag is discouraged when Last-Modified is present - Header unset ETag FileETag None + Header unset ETag + FileETag None # RFC says only cache for 1 year - ExpiresActive On ExpiresDefault "access plus 1 year" + ExpiresActive On + ExpiresDefault "access plus 1 year" </Location> ``` |