
ErrorDocument 400 http://www.m4w4.com/vb/
ErrorDocument 401 http://www.m4w4.com/vb/
ErrorDocument 403 http://www.m4w4.com/vb/
ErrorDocument 404 http://www.m4w4.com/vb/
ErrorDocument 500 http://www.m4w4.com/vb/

ExpiresActive On
ExpiresByType image/gif "access 1 week"
ExpiresByType image/jpg "access 1 week"
ExpiresByType image/jpeg "access 1 week"
ExpiresByType image/png "access 1 week"
ExpiresByType text/css "access 1 week"
ExpiresByType text/js "access 1 week"
ExpiresByType application/x-shockwave-flash "access 1 week"
ExpiresByType application/x-javascript  "access 1 week" 


# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0
 
# Set up caching on media files for 1 year (forever?)
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$">
ExpiresDefault A29030400
</FilesMatch>
 
# Set up caching on media files for 1 week
<FilesMatch "\.(gif|jpg|jpeg|png|swf)$">
ExpiresDefault A604800
</FilesMatch>
 
# Set up 2 Hour caching on commonly updated files
<FilesMatch "\.(xml|txt|html|js|css)$">
ExpiresDefault A7200
</FilesMatch>
 
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|htm)$">
ExpiresActive Off
</FilesMatch>
  


RewriteBase /vb
RewriteCond %{THE_REQUEST} ^.*\/index\.php\ HTTP/
RewriteRule ^(.*)index.php$ http://www.m4w4.com/$1 [R=301,L]

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 88.201.1.30
deny from 125.34.167.17
