Tag Info

New answers tagged

1

Use mod_rewrite RewriteEngine On RewriteCond %{REQUEST_URI} !/robots\.txt$ [nocase] RewriteRule \.txt$ - [forbidden,last] First, make sure the rewrite engine in enabled. Next, use a negated-match (!) to apply a conditional to the RewriteRule that excludes any URI's ending in "/robots.txt" Lastly, if the URI ends in ".txt" then issue a 403 Forbidden. ...


0

(This is really a comment to the previous answer, but the reputation system won't let me) Setting @local_domains_acl = ( "." ) worked for me, but it seemed like a rather blunt instrument (i.e., spam processing all messages, in or out). Trying a number of alternatives, I eventually found that including localhost would also help (I'm testing with a delivery ...



Top 50 recent answers are included