How to protect with config.php and .htacess

There is nothing you can do on the server to protect against a DDoS attack. Once the traffic reaches your server, it's too late already....
You need some kind of upstream network filtering to really protect against attacks, and such things are extremely expensive.
 
How big was the attack? If it's actually small and your server choked on RAM or something, then you might be able to do something about it. But I don't have any details to speculate....
 
Top Bottom