htaccess mod_rewrite - how to send everything to the default 404.
If mod_rewrite is not working we just deny.
I'm open to suggestions (ex. using only the "Redirect" directive).
<IfModule mod_rewrite.c>
RewriteRule .* - [R=404,L]
</IfModule>
<IfModule !mod_rewrite.c>
order deny,allow
deny from all
</IfModule>
Comments
Post a Comment