.. _example-webserver-apache-cron:
===========================
Apache Cron Configuration
===========================
This example describes how to use `Apache `_ for delivering graphs and
HTML files that were generated via cron.
Virtualhost configuration
=========================
Add a new virtualhost, using the following example:
.. index::
triple: munin-cron; apache configuration; example
::
ServerName munin.example.org
ServerAlias munin
ServerAdmin info@example.org
DocumentRoot /var/www
Alias /munin/static/ /etc/munin/static/
Require all granted
Alias /munin /var/cache/munin/www
Require all granted
CustomLog /var/log/apache2/munin.example.org-access.log combined
ErrorLog /var/log/apache2/munin.example.org-error.log