To mitigate Slowloris attacks against an Apache server, you can use several different modules: mod_reqtimeout to set timeouts for receiving the HTTP request headers and body from a client, mod_qos to assign different priorities to different HTTP requests, and mod_security to detect attack attempts.
Learn more about hardening your Apache installation