title: Insufficient permissions to write Apache logs to APACHE_LOG_DIR in Ubuntu Server for azureuser
body: <p>I write to /home/azureuser/ directory (I have rigths) but I want write to APACHE_LOG_DIR (I no have rigths). 
  How to resolve this problem? See below my forum.conf. </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          DocumentRoot /var/www/html/forum
          ServerName forum.example.com
          # ErrorLog ${APACHE_LOG_DIR}/forum/error.log
          # CustomLog ${APACHE_LOG_DIR}/forum/access.log combined
          ErrorLog /home/azureuser/error_log
          CustomLog /home/azureuser/access_log combined
  &lt;/VirtualHost&gt;
  </code></pre>