title: Apache attempting to load from /var/cache for munin
body: <p>I'm trying to get the Munin webpage working under Apache2 via SSL on Debian Etch.  My config for the website is:</p>
  
  <p><strong>NameVirtualHost 1.2.3.4:80</strong></p>
  
  <pre><code>&lt;VirtualHost www.mydomain.org:80&gt;
  ServerName www.mydomain.org
  ...
    &lt;Directory /var/www/https&gt;
      AllowOverride None
      Order deny,allow
      Deny from all
    &lt;/Directory&gt;
  ...
  &lt;/VirtualHost&gt;
  &lt;VirtualHost www.mydomain.org:443&gt;
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/https/
  SSLEngine On
  SSLCertificateFile /etc/blah
  SSLCertificateKeyFile /etc/blah
    &lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride None
    &lt;/Directory&gt;
  ...
  &lt;LOCATION /munin&gt;
      Options Indexes FollowSymLinks MultiViews
      AuthType Basic
      AuthName "Munin Users"
      AuthUserFile /etc/apache2/auth-files/munin
      &lt;limit GET PUT POST&gt;
          require valid-user
      &lt;/limit&gt;
      Order allow,deny
      allow from all
  &lt;/LOCATION&gt;
  ...
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Munin is configured to use the directory and the files are created and refereshed in the proper location.  I can go to <a href="https://www.mydomain.org/munin/" rel="nofollow">https://www.mydomain.org/munin/</a>, enter a username and password, and see the top page fine.  But when I try to drill down to the actual information, I get a 404 error:</p>
  
  <p>Not Found</p>
  
  <p>The requested URL /munin/localdomain/localhost.localdomain/apache_accesses.html was not found on this server.</p>
  
  <p>The URL listed is the same URL that's in the URL of the browser window.  But when I look in the error log, I see:</p>
  
  <pre><code>File does not exist: /var/cache/munin/www/localdomain/localhost.localdomain/apache_accesses.html, referer: https://www.mydomain.org/munin/localdomain/index.html
  </code></pre>
  
  <p>The index.html file lists the file name as localdomain/localhost.localdomain/apache_accesses.html.</p>
  
  <p>I do not have the cache module loaded:</p>
  
  <pre><code>root@etch:/etc/apache2/mods-enabled# ls
  alias.conf        authz_default.load    autoindex.load  dir.conf      mime.load         reqtimeout.conf  ssl.load  alias.load        authz_groupfile.load  cgi.load        dir.load      negotiation.conf  reqtimeout.load  status.conf    auth_basic.load   authz_host.load       dav.load        env.load      negotiation.load  rewrite.load     status.load     auth_digest.load  authz_user.load       dav_fs.conf     include.load  php5.conf         setenvif.conf     authn_file.load   autoindex.conf        dav_fs.load     mime.conf     php5.load         setenvif.load
  </code></pre>
  
  <p>I do not have any directives to enable caching in my apache config:</p>
  
  <pre><code>root@etch:/etc/apache2# grep -i cache *
  apache2.conf:#SSLSessionCache dbm:/var/cache/apache2/ssl_cache
  apache2.conf:SSLSessionCache none
  </code></pre>
  
  <p>(The dbm cache line is commented out and I've restarted apache numerous times.)</p>
  
  <pre><code>root@etch:/etc/apache2/sites-enabled# grep -i cache *
  </code></pre>
  
  <p>(zero lines returned.)</p>
  
  <p>So why in the heck is apache trying to load the files from the /var/cache directory rather than the /var/www/https/munin directory?  Any help greatly appreciated.</p>