# Otherwise no permission to do anything here...
Allow from all
AddType application/x-xpinstall .xpi
AddType text/xml .rdf
# This works with rails asset tag helper to add far future expires headers to static assets
Header set Cache-Control "public"
ExpiresDefault "access plus 1 year"
# This gzips the output of non-image files
# This turns off the image toolbar in IE
Header set imagetoolbar "no"
# This unsets etags, which tend to be useless on dynamic websites - instead we are setting far-future expires headers on static assets
Header unset Etag
# Passenger Config
# PassengerAppRoot /var/www/clients/client9/web15/current
# This preps the url for rails dispatcher. The .svn line prevents those files from showing, although they should be deleted by deploy script.
RewriteRule ^(.*/)?.svn/ - [F,L]
RewriteRule (.*)-cbd+.(.*)$ $1.$2 [L]
# If you see these messages it means Rails isn't working, and it's usually a permissions issue or a SystemExit error that
# shuts Rails down before it finishes processing the request.
ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
ErrorDocument 403 "Access Forbidden"