Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I suffered an attack on the site. a spammer has created a proxy that begins with a page 487032.asp on different domains can I stop into .htaccess all requests from url containing the string 487032.asp? How?
e.g. deny from *487032.asp
thank's
Mario
Create this rewrite rule in your .htaccess for blocking this bad URL:
RewriteEngine On RewriteCond %{THE_REQUEST} /487032\.asp [NC] RewriteRule ^ - [F]
Add a comment
Try :
<FilesMatch ".*487032\.asp$"> Order Allow,Deny Deny from all </FilesMatch>
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.