Forum Moderators: phranque
RewriteCond %{REMOTE_ADDR} ^192\.0\.168\.
RewriteRule .* - [F]
<Files *>
Order allow, deny
Deny from 192.168.0.
Allow from all
</Files>
Depending on server setup, you may find that the second example (using mod_access) will create entries in your server error log when access is denied, while the first (using mod_rewrite) will not.
Jim