Forum Moderators: phranque
SetEnvIf Request_URI "(robots\.txt|custom-403-page\.html)$" pass
#
Order Deny,Allow
#
<FilesMatch "\.(htaccess|htpasswd)$">
Deny from all
</FilesMatch>
#
<LimitExcept GET POST>
Deny from all
</LimitExcept>
#
<Limit GET POST>
Deny from 174.129
Deny from env=ban
Allow from env=pass
</Limit>
[edited by: jdMorgan at 1:28 pm (utc) on Apr 4, 2010]
deny from *****
deny from *****
deny from *****
deny from *****
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/errno.php3$ [NC]
RewriteCond %{THE_REQUEST} ^GET[[:space:]](.+)[[:space:]]HTTP/ [NC]
RewriteCond %{HTTP_HOST} ^domain\.com$
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
RewriteRule ^index\.php3$ http://www.domain.com/ [L,R=301]
RewriteRule blah blah
RewriteRule blah blah
RewriteRule ^([^/]+)\.htm$ $1.php3
RewriteRule blah blah
RewriteRule blah blah