Advertisement
Guest User

Untitled

a guest
Jun 14th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. ServerTokens OS
  2. ServerSignature On
  3. TraceEnable On
  4.  
  5. ServerName "local.php54"
  6. ServerRoot "/etc/apache2"
  7. PidFile ${APACHE_PID_FILE}
  8. Timeout 120
  9. KeepAlive Off
  10. MaxKeepAliveRequests 100
  11. KeepAliveTimeout 15
  12.  
  13. User www-data
  14. Group www-data
  15.  
  16. AccessFileName .htaccess
  17. <FilesMatch "^\.ht">
  18. Require all denied
  19. </FilesMatch>
  20.  
  21. <Directory />
  22. Options FollowSymLinks
  23. AllowOverride None
  24. </Directory>
  25.  
  26.  
  27. HostnameLookups Off
  28. ErrorLog "/var/log/apache2/error.log"
  29. LogLevel warn
  30. EnableSendfile Off
  31.  
  32. #Listen 80
  33.  
  34.  
  35. Include "/etc/apache2/mods-enabled/*.load"
  36. Include "/etc/apache2/mods-enabled/*.conf"
  37. Include "/etc/apache2/ports.conf"
  38.  
  39. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  40. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  41. LogFormat "%{Referer}i -> %U" referer
  42. LogFormat "%{User-agent}i" agent
  43.  
  44. IncludeOptional "/etc/apache2/conf.d/*.conf"
  45. IncludeOptional "/etc/apache2/sites-enabled/*"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement