Sorry, but if you expect DDoS attacks on a local network than you should not use XAMPP as development stack. XAMPP is not designed to be very efficient.
Focus should be to install and configure all the Single components on their own and tweak them to work as stable and efficient as possible on your hardware.
Then you should stop DDoS attacks way earlier than on your Apache. If the DDoS requests can get to your Apache server it is too late to really do anything against it.
Use a modern Firewall, use multiple Webservers which are doing load balancing, etc. All in all known technologies.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!It's like porn for programmers