RewriteEngine on
#redirect from example.com to www.example.com
#RewriteCond %{HTTP_HOST} ^example.com [NC]
#RewriteRule ^(.*)$ http://www.example.com/app$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^watchmoviesandshows.com [NC]
RewriteRule ^(.*)$ http://www.watchmoviesandshows.com/$1 [L,R=301]
RewriteCond %{REQUEST_URI} "/favicon.ico"
RewriteRule (.*) $1 [L]
RewriteCond %{REQUEST_URI} "/test/"
RewriteRule (.*) $1 [L]
RewriteCond %{REQUEST_URI} "/robots.txt"
RewriteRule (.*) $1 [L]
RewriteCond %{REQUEST_URI} "/google8b36315af21f831d.html"
RewriteRule (.*) $1 [L]
RewriteCond %{REQUEST_URI} "/LiveSearchSiteAuth.xml"
RewriteRule (.*) $1 [L]
RewriteCond %{REQUEST_URI} "/sitemap.xml"
RewriteRule (.*) $1 [L]
RewriteCond %{REQUEST_URI} "/ranker/"
RewriteRule (.*) $1 [L]
RewriteCond %{REQUEST_URI} "/y_key_e3ca00a016aa2aa1.html"
RewriteRule (.*) $1 [L]
RewriteCond %{REQUEST_URI} "/gss.xsl"
RewriteRule (.*) $1 [L]
RewriteCond %{REQUEST_URI} "/proof.txt"
RewriteRule (.*) $1 [L]
RewriteRule ^_layouts.*$ - [L]
RewriteRule ^_tmp.*$ - [L]
RewriteRule ^_lib.*$ - [L]
RewriteRule ^_upload.*$ - [L]
RewriteRule ^admin.*$ - [L]
RewriteRule ^phpMyAdmin.*$ - [L]
RewriteRule ^index.php$ - [L]
RewriteRule ^favicon.ico$ - [L]
RewriteRule ^admin.php$ - [L]
RewriteRule ^streets.sql$ - [L]
RewriteRule ^(.*).html$ index.php?act=$1.html&%{QUERY_STRING} [L]
RewriteRule ^(.*)/$ index.php?act=$1/&%{QUERY_STRING} [L]
RewriteRule ^(.*)$ index.php?act=$1/&%{QUERY_STRING} [L]
#Setup ETags
#Header unset Pragma
#FileETag None
#Header unset ETag
#Setup Cache Control (480 weeks)
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
#Header set Cache-Control "max-age=290304000, public"
</FilesMatch>