# Use PHP5.4 Single php.ini as default
AddHandler application/x-httpd-php54s .php

ErrorDocument 404 /404.php
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(garysactionshots.com)$ [NC]
RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
<ifModule mod_deflate.c>  
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript  
</ifModule>  

<FilesMatch "\.(jpg|jpeg|png|gif|swf|js|css)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>