well i tested kiwi guard firewall and evasive mode for Apache and worked good for me,or just find a VPS service which offers a anti-dos protection.
Also bane is right.Use just the necessary ports and block all unused ports and all the UDP ports,disable administrative shares and ICMP ECHO(or u can just block port 7 since its the port used by ICMP)
Here are some helpful links:


To disable ICMP ECHO just Google it .I did not find any decent description on how to do it.
I hope this will help .