forked from pool/apache2
Petr Gajdos
bf4d7cec8d
- use secure http sites by default in configs - Switch to DEFAULT_SUSE Cipher suite READ https://httpd.apache.org/docs/2.4/upgrading.html at https://httpd.apache.org/docs/2.4/new_features_2_4.html OBS-URL: https://build.opensuse.org/request/show/663183 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=573
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
#
|
|
# The following directives define some format nicknames for use with
|
|
# a CustomLog directive.
|
|
#
|
|
# https://httpd.apache.org/docs/2.4/mod/mod_log_config.html
|
|
#
|
|
|
|
#
|
|
# Format string: Nickname:
|
|
#
|
|
LogFormat "%h %l %u %t \"%r\" %>s %b" common
|
|
LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
|
|
LogFormat "%{Referer}i -> %U" referer
|
|
LogFormat "%{User-agent}i" agent
|
|
LogFormat "%h %l %u %t \"%r\" %>s %b \
|
|
\"%{Referer}i\" \"%{User-Agent}i\"" combined
|
|
LogFormat "%v %h %l %u %t \"%r\" %>s %b \
|
|
\"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
|
|
|
|
# To use %I and %O, you need to enable mod_logio
|
|
<IfModule mod_logio.c>
|
|
LogFormat "%h %l %u %t \"%r\" %>s %b \
|
|
\"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
|
|
</IfModule>
|
|
|
|
# Use one of these when you want a compact non-error SSL logfile on a virtual
|
|
# host basis:
|
|
<IfModule mod_ssl.c>
|
|
Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
|
|
\"%r\" %b" ssl_common
|
|
Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
|
|
\"%r\" %b \"%{Referer}i\" \"%{User-Agent}i\"" ssl_combined
|
|
</IfModule>
|
|
|
|
|