Skip to content

Commit

Permalink
minor #4104 Use ${APACHE_LOG_DIR} instead of /var/log/apache2 (xamgreen)
Browse files Browse the repository at this point in the history
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 3e4c92a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cookbook/configuration/web_server_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e4c92a

Please sign in to comment.