Advertisement
onejdc

Remove Unused Apache Modules

Jul 11th, 2019
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.08 KB | None | 0 0
  1. #!/bin/bash
  2. cd /usr/lib/apache2/modules
  3.  
  4. mv mod_mpm_prefork.so disabled
  5. mv mod_authn_alias.so disabled
  6. mv mod_authn_anon.so disabled
  7. mv mod_authn_dbm.so disabled
  8. mv mod_authn_default.so disabled
  9. mv mod_authz_owner.so disabled
  10. mv mod_authz_dbm.so disabled
  11. mv mod_authz_default.so disabled
  12. mv mod_ldap.so disabled
  13. mv mod_authnz_ldap.so disabled
  14. mv mod_env.so disabled
  15. mv mod_ext_filter.so disabled
  16. mv mod_mime_magic.so disabled
  17. mv mod_usertrack.so disabled
  18. mv mod_dav.so disabled
  19. mv mod_status.so disabled
  20. mv mod_autoindex.so disabled
  21. mv mod_info.so disabled
  22. mv mod_dav_fs.so disabled
  23. mv mod_vhost_alias.so disabled
  24. mv mod_negotiation.so disabled
  25. mv mod_actions.so disabled
  26. mv mod_speling.so disabled
  27. mv mod_userdir.so disabled
  28. mv mod_substitute.so disabled
  29. mv mod_proxy_balancer.so disabled
  30. mv mod_proxy_ftp.so disabled
  31. mv mod_proxy_http.so disabled
  32. mv mod_proxy_ajp.so disabled
  33. mv mod_proxy_connect.so disabled
  34. mv mod_cache.so disabled
  35. mv mod_suexec.so disabled
  36. mv mod_disk_cache.so disabled
  37. mv mod_cgi.so disabled
  38. mv mod_version.so disabled
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement