Forum Moderators: phranque
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^business-mobile.htm /blahtest.htm [L,R=301]
RewriteRule ^(.*/)?\.svn/ - [F,L]
ErrorDocument 403 "Access Forbidden"
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* – [F,L]
</IfModule> <IfModule mod_rewrite.c>
RewriteEngine On
RedirectPermanent business-mobile.htm blahtest.htm
RewriteRule ^(.*/)?\.svn/ - [F,L]
ErrorDocument 403 "Access Forbidden"
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* – [F,L]
</IfModule> <IfModule mod_rewrite.c>
RewriteEngine On
RedirectPermanent business-mobile.htm blahtest.htm
RewriteRule ^(.*/)?\.svn/ - [F,L]
ErrorDocument 403 "Access Forbidden"
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* – [F,L]
</IfModule> RewriteRule ^(.*/)?\.svn/ - [F,L] ErrorDocument 403 "Access Forbidden" should come out as we do not use svn any longer (this is quite an old file / website) but other than that, I am quite far out of my depth here. I'd really appreciate any advice from anyone familiar with how an htaccess file functions?
so now we know...