Skip to content

Commit

Permalink
Revert "Fixed Apache configuration for gzipped assets: FilesMatch and…
Browse files Browse the repository at this point in the history
… LocationMatch cannot be nested."

This reverts commit 99f59f9.
  • Loading branch information
pixeltrix committed Sep 17, 2011
1 parent 99f59f9 commit 12d4514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/guides/source/asset_pipeline.textile
Expand Up @@ -432,11 +432,11 @@ For Apache:


# without these, Content-Type will be "application/x-gzip" # without these, Content-Type will be "application/x-gzip"
<FilesMatch "^/assets/.*\.css.gz$"> <FilesMatch "^/assets/.*\.css.gz$">
ForceType text/css ForceType text/css
</FilesMatch> </FilesMatch>


<FilesMatch "^/assets/.*\.js.gz$"> <FilesMatch "^/assets/.*\.js.gz$">
ForceType text/javascript ForceType text/javascript
</FilesMatch> </FilesMatch>
</plain> </plain>


Expand Down

1 comment on commit 12d4514

@pixeltrix
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about that - I got caught by this last night and I thought the change from master wasn't backported to 3-1-stable.

Please sign in to comment.