Skip to content

Commit 3e4c92a

Browse files
committed
minor #4104 Use ${APACHE_LOG_DIR} instead of /var/log/apache2 (xamgreen)
This PR was submitted for the 2.5 branch but it was merged into the 2.3 branch instead (closes #4104). Discussion ---------- Use ${APACHE_LOG_DIR} instead of /var/log/apache2 | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | none It would be a better solution to use envs in the configfile. Commits ------- b8328c5 APACHE_LOG_DIR note added 8753f37 Use ${APACHE_LOG_DIR} instead of /var/log/apache2
2 parents 5b3f68e + b8328c5 commit 3e4c92a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: cookbook/configuration/web_server_configuration.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ are:
5151
ErrorLog /var/log/apache2/project_error.log
5252
CustomLog /var/log/apache2/project_access.log combined
5353
</VirtualHost>
54-
54+
.. note::
55+
You probably want to use ``${APACHE_LOG_DIR}/`` instead of ``/var/log/apache2/``
56+
for the logging-paths, if your system supports the ``APACHE_LOG_DIR`` variable.
57+
5558
.. note::
5659

5760
For performance reasons, you will probably want to set

0 commit comments

Comments
 (0)