Advertisement
Guest User

/etc/apache2/apache2.conf

a guest
Feb 1st, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. Last login: Sun Feb 1 21:29:07 on ttys000
  2. MacBook-Pro-Elev-Personal:~ elev$ ssh root@trendigamobler.com
  3. Warning: the RSA host key for 'trendigamobler.com' differs from the key for the IP address '188.166.61.247'
  4. Offending key for IP in /Users/elev/.ssh/known_hosts:1
  5. Matching host key in /Users/elev/.ssh/known_hosts:2
  6. Are you sure you want to continue connecting (yes/no)? yes
  7. root@trendigamobler.com's password:
  8. Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64)
  9.  
  10. * Documentation: https://help.ubuntu.com/
  11.  
  12. System information as of Sun Feb 1 15:29:28 EST 2015
  13.  
  14. System load: 0.0 Processes: 100
  15. Usage of /: 68.5% of 39.25GB Users logged in: 1
  16. Memory usage: 9% IP address for eth0: 188.166.61.247
  17. Swap usage: 0%
  18.  
  19. Graph this data and manage this system at:
  20. https://landscape.canonical.com/
  21.  
  22. Last login: Sun Feb 1 15:29:28 2015 from c-4b85e355.021-271-6e6b7010.cust.bredbandsbolaget.se
  23. root@trendigamobler:~# cat /etc/apache2/apache2.conf
  24. # It is split into several files forming the configuration hierarchy outlined
  25. # below, all located in the /etc/apache2/ directory:
  26. #
  27. # /etc/apache2/
  28. # |-- apache2.conf
  29. # | `-- ports.conf
  30. # |-- mods-enabled
  31. # | |-- *.load
  32. # | `-- *.conf
  33. # |-- conf.d
  34. # | `-- *
  35.  
  36. # Global configuration
  37. PidFile ${APACHE_PID_FILE}
  38. Timeout 40
  39. KeepAlive Off
  40. MaxKeepAliveRequests 200
  41. KeepAliveTimeout 2
  42.  
  43. <IfModule mpm_prefork_module>
  44. StartServers 2
  45. MinSpareServers 3
  46. MaxSpareServers 20
  47. ServerLimit 256
  48. MaxClients 200
  49. MaxRequestsPerChild 1000
  50. </IfModule>
  51.  
  52. <IfModule mpm_worker_module>
  53. StartServers 2
  54. MinSpareThreads 25
  55. MaxSpareThreads 75
  56. ThreadLimit 64
  57. ThreadsPerChild 25
  58. MaxClients 200
  59. MaxRequestsPerChild 4000
  60. </IfModule>
  61.  
  62. <IfModule mpm_event_module>
  63. StartServers 2
  64. MinSpareThreads 25
  65. MaxSpareThreads 75
  66. ThreadLimit 64
  67. ThreadsPerChild 25
  68. MaxClients 200
  69. MaxRequestsPerChild 4000
  70. </IfModule>
  71.  
  72. # These need to be set in /etc/apache2/envvars
  73. User ${APACHE_RUN_USER}
  74. Group ${APACHE_RUN_GROUP}
  75. #User www-data
  76. #Group www-data
  77.  
  78. AccessFileName .htaccess
  79.  
  80. <Files ~ "^\.ht">
  81. Order allow,deny
  82. Deny from all
  83. Satisfy all
  84. </Files>
  85.  
  86. DefaultType None
  87. HostnameLookups Off
  88.  
  89. ErrorLog ${APACHE_LOG_DIR}/error.log
  90. LogLevel warn
  91.  
  92. # Include module configuration:
  93. Include mods-enabled/*.load
  94. Include mods-enabled/*.conf
  95.  
  96. # Include list of ports to listen on and which to use for name based vhosts
  97. Include ports.conf
  98.  
  99. LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  100. LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  101. LogFormat "%h %l %u %t \"%r\" %>s %O" common
  102. LogFormat "%{Referer}i -> %U" referer
  103. LogFormat "%{User-agent}i" agent
  104. LogFormat "%b" bytes
  105.  
  106. Include conf.d
  107.  
  108. # Include the virtual host configurations:
  109. #Include sites-enabled/
  110. root@trendigamobler:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement