You could use:
Order Allow,Deny
Deny from 66.249.74.0/24
Allow from all
Or you could use this:
RewriteEngine on
RewriteCond %{REMOTE_ADDR} ^66\.249\.74\.
RewriteRule ^ - [F]
More Related Contents:
- Redirect non-www to www in .htaccess
- .htaccess mod_rewrite – how to exclude directory from rewrite rule
- .htaccess redirect all pages to new domain
- convert original URL to friendly URL
- Password protect a specific URL
- How to write htaccess rewrite rule for seo friendly url
- What exactly does the Multiviews options in .htaccess?
- Block all bots/crawlers/spiders for a special directory with htaccess
- htaccess rewrite breaks relative paths
- How to get MAMP to read .htaccess files
- Add Trailing Slash .htaccess
- .htaccess Remove WWW from URL + Directories
- How can I redirect to a different domain without changing the URL in the address bar?
- htaccess subdomain
- Issue In Removing Double Or More Slashes From URL By .htaccess
- Allow/deny image hotlinking with .htaccess
- Best Practice: 301 Redirect HTTP to HTTPS (Standard Domain)
- ‘hash’ url rewrite in .htaccess
- htaccess redirect if URL contains a certain string
- .htaccess to restrict access to folder
- .htaccess redirect all pages to the homepage on a new domain
- redirect all .html extensions to .php
- .htaccess URL redirect
- 301 redirect .htaccess
- 301 redirect from URL with query string to new domain with different query string
- htaccess code to remove extension AND add+force trailing slash?
- Preserve HTTP/HTTPS protocol in .htaccess redirects
- Reference capture groups of multiple RewriteCond in RewriteRule
- .htaccess redirect to all IP’s but mine
- How can I fix the ‘Missing Cross-Origin Resource Sharing (CORS) Response Header’ webfont issue?