Advertisement
Guest User

apache.conf problema de ssl

a guest
Mar 6th, 2013
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. ServerRoot "/etc/apache2"
  2.  
  3. LockFile /var/lock/apache2/accept.lock
  4.  
  5. <IfModule mod_ssl.c>
  6. Include conf/ssl.conf
  7. </IfModule>
  8.  
  9. PidFile /var/run/apache2.pid
  10.  
  11. Timeout 300
  12.  
  13. KeepAlive On
  14.  
  15. MaxKeepAliveRequests 100
  16.  
  17. KeepAliveTimeout 15
  18.  
  19. <IfModule mpm_prefork_module>
  20. StartServers 5
  21. MinSpareServers 5
  22. MaxSpareServers 10
  23. MaxClients 150
  24. MaxRequestsPerChild 0
  25. </IfModule>
  26.  
  27. <IfModule mpm_worker_module>
  28. StartServers 2
  29. MaxClients 150
  30. MinSpareThreads 25
  31. MaxSpareThreads 75
  32. ThreadsPerChild 25
  33. MaxRequestsPerChild 0
  34. </IfModule>
  35.  
  36. User www-data
  37. Group www-data
  38.  
  39. AccessFileName .htaccess
  40.  
  41. AccessFileName .htaccess
  42.  
  43. <Files ~ "^\.ht">
  44. Order allow,deny
  45. Deny from all
  46. </Files>
  47.  
  48. DefaultType text/plain
  49.  
  50. HostnameLookups Off
  51.  
  52. ErrorLog /var/log/apache2/error.log
  53.  
  54. LogLevel warn
  55.  
  56. # Include module configuration:
  57. Include /etc/apache2/mods-enabled/*.load
  58. Include /etc/apache2/mods-enabled/*.conf
  59.  
  60. # Include all the user configurations:
  61. #Include /etc/apache2/httpd.conf
  62.  
  63. # Include ports listing
  64. Include /etc/apache2/ports.conf
  65.  
  66. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  67. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  68. LogFormat "%{Referer}i -> %U" referer
  69. LogFormat "%{User-agent}i" agent
  70.  
  71. ServerTokens Full
  72.  
  73. ServerSignature On
  74.  
  75.  
  76. <FilesMatch "\.(inc|cfg|cf|conf)$">
  77. Order allow,deny
  78. Deny from all
  79. </FilesMatch>
  80.  
  81. #XBitHack on
  82.  
  83. Alias /mysar /usr/local/mysar/www
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement