ProxyRequests On
ProxyVia On
ProxyPreserveHost On
CacheEnable disk http://
CacheEnable disk https://
CacheDefaultExpire 3600
CacheRoot "/var/cache/httpd/proxy/"
CacheDirLevels 1
CacheDirLength 2
CacheIgnoreHeaders Set-Cookie
CacheIgnoreCacheControl On
CacheIgnoreNoLastMod On
# Cache only files under 200M in size
CacheMaxFileSize 314572800
Below is the log for http
[Sun Aug 28 08:11:40.124775 2016] [cache:debug] [pid 5841] cache_storage.c(664): [client 127.0.0.1:36600] AH00698: cache: Key for entity http://www-us.apache.org/dist//httpd/httpd-2.4.23.tar.bz2?(null) is http://www-us.apache.org:80http://www-us.apache.org/dist//httpd/httpd-2.4.23.tar.bz2?
[Sun Aug 28 08:11:40.124863 2016] [cache_disk:debug] [pid 5841] mod_cache_disk.c(572): [client 127.0.0.1:36600] AH00709: Recalled cached URL info header http://www-us.apache.org:80http://www-us.apache.org/dist//httpd/httpd-2.4.23.tar.bz2?
[Sun Aug 28 08:11:40.124886 2016] [cache_disk:debug] [pid 5841] mod_cache_disk.c(884): [client 127.0.0.1:36600] AH00720: Recalled headers for URL http://www-us.apache.org:80http://www-us.apache.org/dist//httpd/httpd-2.4.23.tar.bz2?
[Sun Aug 28 08:11:40.124921 2016] [cache:debug] [pid 5841] mod_cache.c(665): [client 127.0.0.1:36600] AH00764: cache: serving http://www-us.apache.org/dist//httpd/httpd-2.4.23.tar.bz2
Below is the log for https
[Sun Aug 28 10:10:31.497393 2016] [proxy:debug] [pid 5830] mod_proxy.c(1117): [client 28465] AH01143: Running scheme ab.com handler (attempt 0)
[Sun Aug 28 10:10:31.497401 2016] [proxy_connect:debug] [pid 5830] mod_proxy_connect.c(247): [client :28465] AH01019: connecting ab.com:443 to ab.com:443
Could you please let me know whether I am missing any configuration.
- Aravind