Re: mod_cache and SSL

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

 



The apache is working as revers proxy by the way. This is the caching and mod_expires settings I'm using in the config:

<IfModule cache_module>
<IfModule mem_cache_module>
        CacheEnable mem /include/img/fwk
        CacheEnable mem /include/css
        CacheEnable mem /include/js

        CacheIgnoreNoLastMod On
        CacheIgnoreHeaders Set-Cookie
        CacheDefaultExpire 3600
        CacheIgnoreCacheControl On
        CacheDirLevels 4

        MCacheSize 2048
        MCacheMaxObjectSize 1310720
</IfModule>
</IfModule>

<IfModule expires_module>
        ExpiresActive On
        ExpiresDefault "access plus 3600 seconds"
</IfModule>


Any idea why is this not working over https? Any one knows if mod_cache can work over SSL at all?

Thanks,

Igor

On Thu, Jun 18, 2009 at 8:23 AM, Igor Cicimov <icicimov@xxxxxxxxx> wrote:
Hi Eric,

Thanks for your reply. I did that I have the debug level on and I tried to log Age header but all I get in the log is empty string and "-" sign in the time stamp I tried to put. Also can't see any lines from the mod_cache in the logs. Any ideas why?

My guess is that something happens to the headers when the transition from http to https happens. Or maybe I have to include the caching commands inside the _default_:443 virtual host I have instead in the main httpd.conf file?

Thanks,

Igor


On Wed, Jun 17, 2009 at 11:36 PM, Eric Covener <covener@xxxxxxxxx> wrote:
On Wed, Jun 17, 2009 at 8:46 AM, Igor Cicimov<icicimov@xxxxxxxxx> wrote:
> Hi all,
>
> I have a simple question: is mod_cache working over https or not? I
> think it's not but couldn't find any clear confirmation googling.
>
> Also since the mod_mem_cache doesn't have any logging facilities and
> is completely going on in memory, does any one know a way to confirm
> it's working?

LogLevel debug will show you things being added/removed from the
cache. Logging %{Age}o is another hint that a response was served from
the cache.

--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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