Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- <FilesMatch "^\.ht">
- Require all denied
- </FilesMatch>
- #
- # The following directives define some format nicknames for use with
- # a CustomLog directive.
- #
- # These deviate from the Common Log Format definitions in that they use %O
- # (the actual bytes sent including headers) instead of %b (the size of the
- # requested file), because the latter makes it impossible to detect partial
- # requests.
- #
- # Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
- # Use mod_remoteip instead.
- #
- LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
- LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
- LogFormat "%h %l %u %t \"%r\" %>s %O" common
- LogFormat "%{Referer}i -> %U" referer
- LogFormat "%{User-agent}i" agent
- # Include of directories ignores editors' and dpkg's backup files,
- # see README.Debian for details.
- # Include generic snippets of statements
- IncludeOptional conf-enabled/*.conf
- # Include the virtual host configurations:
- IncludeOptional sites-enabled/*.conf
- # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Add Comment
Please, Sign In to add comment