My current error codes in my .htaccess file look like this...
Order Deny,Allow
deny from 255.255.255.255
<Files 403.shtml>
Allow from all
</Files>
RewriteEngine on
RewriteCond %{HTTP_REFERER} asite\.org [NC]
RewriteRule!403\.shtml$ - [F]
For both sections I just want to give a 404 error and not display a page at all. (bandwidth has become a big issue for me.)
I'm not finding any informations on the order deny section.
But I have done the rewrite rule below and it isn't working.
RewriteRule!ErrorDocument 404 http://mysite.com/404
I have tried but I'm not understanding how this works.
|