mod_disk_cache works for vhost (a), but not (b)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm pulling my hair out with this one, so hopefully someone could provide some pointers or suggestions on how to diagnose.

Using httpd: 2.2.8

Problem: mod_disk_cache is working flawlessly for vhost (a), but not at all for vhost (b). The config for vhost (b) is exactly the same as (a), except for the domain name, of course.

Server logs for vhost(a) show normal mod_disk_cache activity:
...
mod_disk_cache.c(1051): disk_cache: Body for URL http://abc.com:80/index.php?l=1 cached.
...

Server logs for vhost(b) shows absolutely no activity for mod_disk_cache at all.



Config for vhost (a) - which works perfectly:
---------------------------------------------
<VirtualHost *:80>
ServerName abc.com
<FilesMatch '\.(php|css)'>
Header unset Cache-Control
Header unset Last-Modified
Header unset Pragma
Header set Expires "access plus 1 day"
Header set Cache-Control "max-age=86400, public"
</FilesMatch>
<IfModule mod_disk_cache.c>
    CacheIgnoreNoLastMod On
    CacheStoreNoStore On
    CacheStorePrivate On
    CacheIgnoreHeaders Set-Cookie
    CacheMaxExpire 86400
    CacheLastModifiedFactor 10
    CacheDefaultExpire 86400
    CacheEnable disk /
    CacheRoot /var/cache/mod_proxy
    CacheDirLevels 5
    CacheDirLength 4
</IfModule>


Config for vhost (b) - only difference is Server name:
------------------------------------------------------
...
ServerName abctest.com
...



I have no idea where else to look to even begin to figure out what's going on.

Any suggestions?

Thanks a million.

Regards
Henry

Attachment: pgpHBmVLRh0Km.pgp
Description: PGP Digital Signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux