Advertisement
Guest User

Untitled

a guest
Aug 16th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. LockFile ${APACHE_LOCK_DIR}/accept.lock
  2. PidFile ${APACHE_PID_FILE}
  3.  
  4. Timeout 300
  5.  
  6. KeepAlive On
  7.  
  8. MaxKeepAliveRequests 100
  9.  
  10. KeepAliveTimeout 15
  11.  
  12.  
  13. <IfModule mpm_prefork_module>
  14. StartServers 5
  15. MinSpareServers 5
  16. MaxSpareServers 10
  17. MaxClients 150
  18. MaxRequestsPerChild 0
  19. </IfModule>
  20.  
  21.  
  22. <IfModule mpm_worker_module>
  23. StartServers 2
  24. MinSpareThreads 25
  25. MaxSpareThreads 75
  26. ThreadLimit 64
  27. ThreadsPerChild 25
  28. MaxClients 150
  29. MaxRequestsPerChild 0
  30. </IfModule>
  31.  
  32.  
  33. <IfModule mpm_event_module>
  34. StartServers 2
  35. MaxClients 150
  36. MinSpareThreads 25
  37. MaxSpareThreads 75
  38. ThreadLimit 64
  39. ThreadsPerChild 25
  40. MaxRequestsPerChild 0
  41. </IfModule>
  42.  
  43. User ${APACHE_RUN_USER}
  44. Group ${APACHE_RUN_GROUP}
  45.  
  46.  
  47. AccessFileName .htaccess
  48.  
  49.  
  50. <Files ~ "^\.ht">
  51. Order allow,deny
  52. Deny from all
  53. Satisfy all
  54. </Files>
  55. DefaultType text/plain
  56.  
  57.  
  58. HostnameLookups Off
  59.  
  60.  
  61. ErrorLog ${APACHE_LOG_DIR}/error.log
  62.  
  63.  
  64. LogLevel warn
  65. Include mods-enabled/*.load
  66. Include mods-enabled/*.conf
  67.  
  68.  
  69. Include httpd.conf
  70.  
  71.  
  72. Include ports.conf
  73.  
  74.  
  75. LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  76. LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  77. LogFormat "%h %l %u %t \"%r\" %>s %O" common
  78. LogFormat "%{Referer}i -> %U" referer
  79. LogFormat "%{User-agent}i" agent
  80.  
  81. Include conf.d/
  82.  
  83. Include sites-enabled/
  84.  
  85.  
  86. LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-3.0.0/ext/apache2/mod_passenger.$
  87. PassengerRoot /var/lib/gems/1.8/gems/passenger-3.0.0
  88. PassengerRuby /usr/bin/ruby1.8
  89.  
  90. <VirtualHost *:80>
  91. ServerName rs232
  92. DocumentRoot /var/www/rs232/current/public/
  93. <Directory /var/www/rs232/current/public/>
  94. AllowOverride all
  95. Options -MultiViews
  96. </Directory>
  97. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement