#1787 - A bunch of spammers trying to access http://lovinity.org/pg/(spam address), causing flood of error messages
| Identifier | #1787 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | A bunch of spammers trying to access http://lovinity.org/pg/(spam address), causing flood of error messages |
| Status | Closed (no changes needed) |
| Handling member | Chris Graham |
| Addon | core |
| Description | There are spammers trying to access a variety of nonexisting pages in the format http://lovinity/org/pg/(spam address).
Example: http://lovinity.org/pg/taptheappnow.com/ Is there a way to prevent floods of error messages in my logs and possibly mark such attempts as spam? |
| Steps to reproduce | |
| Additional information | I marked this as "feature" because it's not really a bug, more of feature request to handle these kinds of requests. |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
In the past I have just done mass IP blocks in .htaccess, or redirected the URLs they're trying off to example.com.
RewriteEngine on
# Misrouted traffic fix (12th Jan 2014)
RewriteRule ^baltimoreroot.* http://example.com/ [NC,R=301,L]
RewriteRule ^connect.* http://example.com/ [NC,R=301,L]
RewriteRule ^announce.* http://example.com/ [NC,R=301,L]
Turning off Composr's custom 404 page in the htaccess helps lower performance impact (or saving it to a static HTML file and using that as the 404 page).