Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. erverRoot "/etc/apache2"
  2. LockFile /var/lock/apache2/accept.lock
  3. PidFile ${APACHE_PID_FILE}
  4. Timeout 300
  5. KeepAlive On
  6. MaxKeepAliveRequests 100
  7. KeepAliveTimeout 15
  8. <IfModule mpm_prefork_module>
  9. StartServers 5
  10. MinSpareServers 5
  11. MaxSpareServers 10
  12. MaxClients 150
  13. MaxRequestsPerChild 0
  14. </IfModule>
  15. <IfModule mpm_worker_module>
  16. StartServers 2
  17. MinSpareThreads 25
  18. MaxSpareThreads 75
  19. ThreadLimit 64
  20. ThreadsPerChild 25
  21. MaxClients 150
  22. MaxRequestsPerChild 0
  23. </IfModule>
  24. <IfModule mpm_event_module>
  25. StartServers 2
  26. MaxClients 150
  27. MinSpareThreads 25
  28. MaxSpareThreads 75
  29. ThreadLimit 64
  30. ThreadsPerChild 25
  31. MaxRequestsPerChild 0
  32. </IfModule>
  33. User ${APACHE_RUN_USER}
  34. Group ${APACHE_RUN_GROUP}
  35. AccessFileName .htaccess
  36. <Files ~ "^\.ht">
  37. Order allow,deny
  38. Deny from all
  39. Satisfy all
  40. </Files>
  41. DefaultType text/plain
  42. HostnameLookups Off
  43. ErrorLog /var/log/apache2/error.log
  44. LogLevel warn
  45. Include /etc/apache2/mods-enabled/*.load
  46. Include /etc/apache2/mods-enabled/*.conf
  47. Include /etc/apache2/httpd.conf
  48. Include /etc/apache2/ports.conf
  49. LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  50. LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  51. LogFormat "%h %l %u %t \"%r\" %>s %O" common
  52. LogFormat "%{Referer}i -> %U" referer
  53. LogFormat "%{User-agent}i" agent
  54. CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined
  55. Include /etc/apache2/conf.d/
  56. Include /etc/apache2/sites-enabled/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement