Advertisement
sergio_educacionit

apache2.conf.error

Jan 14th, 2023
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. DefaultRuntimeDir ${APACHE_RUN_DIR}
  2. PidFile ${APACHE_PID_FILE}
  3. Timeout 300
  4. KeepAlive On
  5. MaxKeepAliveRequests 100
  6. KeepAliveTimeout 5
  7. User ${APACHE_RUN_USER}
  8. Group ${APACHE_RUN_GROUP}
  9. HostnameLookups Off
  10. ErrorLog ${APACHE_LOG_DIR}/error.log
  11. LogLevel warn
  12. IncludeOptional mods-enabled/*.load
  13. IncludeOptional mods-enabled/*.conf
  14. Inclu ports.conf
  15. <Directory />
  16. Options FollowSymLinks
  17. AllowOverride None
  18. Require all denied
  19. </Directory>
  20. <Directory /usr/share>
  21. AllowOverride None
  22. Require all granted
  23. </Directory>
  24. <Directory /var/www/>
  25. Options Indexes FollowSymLinks
  26. AllowOverride None
  27. Require all granted
  28. </Directory>
  29. AccessFileName .htaccess
  30. <FilesMatch "^\.ht">
  31. Require all denied
  32. </FilesMatch>
  33. LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  34. LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  35. LogFormat "%h %l %u %t \"%r\" %>s %O" common
  36. LogFormat "%{Referer}i -> %U" referer
  37. LogFormat "%{User-agent}i" agent
  38. IncludeOptional conf-enabled/*.conf
  39. IncludeOptional sites-enabled/*.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement