Since a lot of people proxy Ddos, it’s useful to protect your site against it. You have three options if you have total control over the server...
- Detect proxies and block them on firewall/mod_security level
- Detect them via PHP and block them via .htaccess
- Detect and block them via .htaccess