This is the short example of my ;htaccess file.
Quote:
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]
|
This is what I want to do....
1) I want to return a 404 server error for rewrite rule.
2) Somehow make the blocked IP addresses see or get something in the neighbourhood of a 404 error.
3) Create my 404 error page with the " HttpServletResponse: sendError(message) "
|