Thread: .htaccess
View Single Post
Old February 13th, 2005, 09:51 AM   #1 (permalink)
oldengine
Member
Verified Customer
 
Join Date: Oct 2004
Location: Florida
Posts: 318
.htaccess

If I turn .htaccess OFF in my vba, it deletes MY .htaccess file. If I turn it on in my vba, the VBA software appears to be overwriting my .htaccess file on occasion at random. It can even overwrite or remove a ROOT owned .htaccess file!

Its contents are incomplete and unsuitable to my needs:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?www.(/)?.*$ [NC]
RewriteRule .*\.(avi|bmp|gif|jpeg|jpg|midi|mp3|mpeg|mpg|png|ram|wav|wma|wmv)$ [F,NC]
oldengine is offline