# We are serving this directory from local directories on the web servers
# to save fileserver bandwith. This makes ETags useless.
# see: http://developer.yahoo.com/performance/rules.html#etags
FileETag None

# careful: some of the rewriting rules depend on MultiViews on
Options -Indexes +MultiViews +FollowSymLinks -SymLinksIfOwnerMatch
MultiviewsMatch NegotiatedOnly

ExpiresActive On
ExpiresDefault "access plus 365 days"

# make it prefer png over jpg over gif
AddType image/png;q=1.0 .png
AddType image/jpeg;q=0.8 .jpeg .jpg
AddType image/gif;q=0.5 .gif
AddType image/vnd.microsoft.icon;q=0.1 .ico

RewriteEngine On
RewriteBase /pics

RewriteCond %{HTTP_USER_AGENT} "Android" [NC]
RewriteRule ^apple-(touch-icon.*)$ android-$1

