Permalink
Browse files

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
  • Loading branch information...
weaverryan committed Oct 19, 2014
2 parents 5b3f68e + b8328c5 commit 3e4c92a12cf794dc09ccb640c2b1928213e06d80
Showing with 4 additions and 1 deletion.
  1. +4 −1 cookbook/configuration/web_server_configuration.rst
@@ -51,7 +51,10 @@ are:
ErrorLog /var/log/apache2/project_error.log
CustomLog /var/log/apache2/project_access.log combined
</VirtualHost>
.. note::
You probably want to use ``${APACHE_LOG_DIR}/`` instead of ``/var/log/apache2/``
for the logging-paths, if your system supports the ``APACHE_LOG_DIR`` variable.
.. note::
For performance reasons, you will probably want to set

0 comments on commit 3e4c92a

Please sign in to comment.