![]() |
|
#1
|
||||
|
||||
Blocking a HTTP_VIA with .htaccessSince a few weeks my paste.uni.cc is being spammed.
The spammer uses proxies and other stuff. but for some reason every spam request/post includes a line like this: Code:
I've already blocked this at php level, but it won't stop so i'm going to block this crap at a higher level. I've been trying to play with it, but my host is kinda slow atm Any rewriterule help would be nice, of course I checked some sites, but couldn't really find what I was looking for |
||||
|
#2
|
||||
|
||||
|
I'll get back to you on this Allowee, now is not a good time for me... if you figure it out all before my reply, just update this thread.
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
|
I think I figured it out.. although it might not be perfect
Code:
note the Code:
Tested everything with a php script: PHP Code:
very simple code, but it does the job perfectly |
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| what the heck....how do you make .htaccess file? | antimacism | Apache Web Server Forum | 3 | 02-Sep-2005 09:27 |
| Clean domain redirect/rewrite with .htaccess | DaveBrooke | Apache Web Server Forum | 2 | 20-Dec-2004 09:35 |
| Trouble With .htaccess | amneziac85 | Apache Web Server Forum | 2 | 27-Jan-2004 18:35 |
| Blocking Spambots by .htaccess | BobbyDouglas | Apache Web Server Forum | 2 | 16-Jan-2004 11:32 |
| Overriding .htaccess | toadatrix | Apache Web Server Forum | 2 | 02-Jan-2004 23:00 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The