atzekraut

Untitled

Oct 22nd, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. #
  2. <FilesMatch "^\.ht">
  3. Require all denied
  4. </FilesMatch>
  5.  
  6.  
  7. #
  8. # The following directives define some format nicknames for use with
  9. # a CustomLog directive.
  10. #
  11. # These deviate from the Common Log Format definitions in that they use %O
  12. # (the actual bytes sent including headers) instead of %b (the size of the
  13. # requested file), because the latter makes it impossible to detect partial
  14. # requests.
  15. #
  16. # Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
  17. # Use mod_remoteip instead.
  18. #
  19. LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  20. LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  21. LogFormat "%h %l %u %t \"%r\" %>s %O" common
  22. LogFormat "%{Referer}i -> %U" referer
  23. LogFormat "%{User-agent}i" agent
  24.  
  25. # Include of directories ignores editors' and dpkg's backup files,
  26. # see README.Debian for details.
  27.  
  28. # Include generic snippets of statements
  29. IncludeOptional conf-enabled/*.conf
  30.  
  31. # Include the virtual host configurations:
  32. IncludeOptional sites-enabled/*.conf
  33.  
  34. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Add Comment
Please, Sign In to add comment