mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-15 06:44:22 +02:00
66 lines
2.3 KiB
Diff
66 lines
2.3 KiB
Diff
From 3f6e035c2d85967fc63431d73e4a37821513b39c Mon Sep 17 00:00:00 2001
|
|
From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
|
|
Date: Fri, 11 Sep 2015 11:40:22 +0300
|
|
Subject: [PATCH 05/14] httpd.conf: ErrorLog/CustomLog/TransferLog
|
|
|
|
---
|
|
docs/conf/extra/httpd-ssl.conf.in | 6 +++---
|
|
docs/conf/httpd.conf.in | 6 +++---
|
|
2 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/docs/conf/extra/httpd-ssl.conf.in b/docs/conf/extra/httpd-ssl.conf.in
|
|
index 6a3c67a..3ace58a 100644
|
|
--- a/docs/conf/extra/httpd-ssl.conf.in
|
|
+++ b/docs/conf/extra/httpd-ssl.conf.in
|
|
@@ -124,8 +124,8 @@ SSLSessionCacheTimeout 300
|
|
DocumentRoot "@exp_htdocsdir@"
|
|
ServerName www.example.com:@@SSLPort@@
|
|
ServerAdmin you@example.com
|
|
-ErrorLog "@exp_logfiledir@/error_log"
|
|
-TransferLog "@exp_logfiledir@/access_log"
|
|
+ErrorLog logs/ssl_error.log
|
|
+TransferLog logs/ssl_access.log
|
|
|
|
# SSL Engine Switch:
|
|
# Enable/Disable SSL for this virtual host.
|
|
@@ -284,7 +284,7 @@ BrowserMatch "MSIE [2-5]" \
|
|
# Per-Server Logging:
|
|
# The home of a custom SSL log file. Use this when you want a
|
|
# compact non-error SSL logfile on a virtual host basis.
|
|
-CustomLog "@exp_logfiledir@/ssl_request_log" \
|
|
+CustomLog logs/ssl_request.log \
|
|
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
|
|
|
|
</VirtualHost>
|
|
diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in
|
|
index 33b7487..29ac06c 100644
|
|
--- a/docs/conf/httpd.conf.in
|
|
+++ b/docs/conf/httpd.conf.in
|
|
@@ -201,7 +201,7 @@ DocumentRoot "@exp_htdocsdir@"
|
|
# logged here. If you *do* define an error logfile for a <VirtualHost>
|
|
# container, that host's errors will be logged there and not here.
|
|
#
|
|
-ErrorLog "@rel_logfiledir@/error_log"
|
|
+ErrorLog logs/error.log
|
|
|
|
#
|
|
# LogLevel: Control the number of messages logged to the error_log.
|
|
@@ -230,13 +230,13 @@ LogLevel warn
|
|
# define per-<VirtualHost> access logfiles, transactions will be
|
|
# logged therein and *not* in this file.
|
|
#
|
|
- CustomLog "@rel_logfiledir@/access_log" common
|
|
+ #CustomLog logs/access.log common
|
|
|
|
#
|
|
# If you prefer a logfile with access, agent, and referer information
|
|
# (Combined Logfile Format) you can use the following directive.
|
|
#
|
|
- #CustomLog "@rel_logfiledir@/access_log" combined
|
|
+ CustomLog logs/access.log combined
|
|
</IfModule>
|
|
|
|
<IfModule alias_module>
|
|
--
|
|
2.9.4
|
|
|