Mam, pewien problem z którym walczę już od kilku dni.
Mianowicie. Zainstalowałem apache2. Został skonfigurowany jako http proxy.
Następnie włączyłem moduł cache oraz chach_disk i tu pojawia się problem, bo katalog z plikami "skeszowanymi" jest cały czas pusty.
Dodam, że sam apache proxy działa ok. Zapytania przekazuje dalej.
Distributor ID: Debian
Description: Debian GNU/Linux 9.5 (stretch)
Release: 9.5
Codename: stretch
Kod: Zaznacz cały
sudo apachectl -t -D DUMP_MODULES | grep cache
cache_module (shared)
cache_disk_module (shared)
socache_shmcb_module (shared)
/etc/apache2/conf-enabled/caching.conf
Kod: Zaznacz cały
CacheEnable disk http://
CacheDirLevels 4
CacheDirLength 2
CacheDefaultExpire 3600
CacheMaxFileSize 200000000
CacheMaxExpire 604800
CacheQuickHandler Off
CacheRoot /var/cache/apache2/mod_cache_disk
CustomLog "/var/log/apache2/cached-requests.log" common env=cache-hit
CustomLog "/var/log/apache2/uncached-requests.log" common env=cache-miss
CustomLog "/var/log/apache2/revalidated-requests.log" common env=cache-revalidate
CustomLog "/var/log/apache2/invalidated-requests.log" common env=cache-invalidate
LogFormat "%{cache-status}e " cachelog
CustomLog /var/log/apache2/cache.log cachelog
Kod: Zaznacz cały
ProxyRequests On
ProxyVia On
<Proxy *>
Order deny,allow
Deny from all
Allow from all
AuthType Basic
AuthName "Password Required"
AuthUserFile /etc/apache2/password.file
AuthGroupFile /etc/apache2/group.file
Require group grupaproxy
</Proxy>
Kod: Zaznacz cały
Listen 3128
<IfModule ssl_module>
Listen 8443
</IfModule>
<IfModule mod_gnutls.c>
Listen 8443
</IfModule>
Kod: Zaznacz cały
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Kod: Zaznacz cały
av.firma.local:80 192.168.0.35 - - [14/Sep/2018:09:31:00 +0200] "HEAD http://update.eset.com/eset_upd/ep7/dll/update.ver HTTP/1.1" 407 213 "-" "EES Update (Windows; U; 64bit; BPC 7.0.2073.1; OS: 10.0.17134 SP 0.0 NT; TDB 38721; CL 1.0.0; x64c; APP ees; ASP 0.0; FW 0.0; PX 1; PUA 0; CD 1; RA 1; PEV 0; UNS 0; HWF: 0100F164-FAD7-5984-63AE-8F05FAB1AEE4; PLOC pl_pl; PCODE 111.0.0; PAR 0; ATH -1; DC 1; PLID 33B-R5W-HWM; SEAT 9532fdf1; RET 5003)"
av.firma.local:80 192.168.0.35 - proxy_user [14/Sep/2018:09:31:00 +0200] "HEAD http://update.eset.com/eset_upd/ep7/dll/update.ver HTTP/1.1" 401 311 "-" "EES Update (Windows; U; 64bit; BPC 7.0.2073.1; OS: 10.0.17134 SP 0.0 NT; TDB 38721; CL 1.0.0; x64c; APP ees; ASP 0.0; FW 0.0; PX 1; PUA 0; CD 1; RA 1; PEV 0; UNS 0; HWF: 0100F164-FAD7-5984-63AE-8F05FAB1AEE4; PLOC pl_pl; PCODE 111.0.0; PAR 0; ATH -1; DC 1; PLID 33B-R5W-HWM; SEAT 9532fdf1; RET 5003)"
av.firma.local:80 192.168.0.35 - - [14/Sep/2018:09:31:00 +0200] "GET http://update.eset.com/eset_upd/ep7/dll/update.ver HTTP/1.1" 407 730 "-" "EES Update (Windows; U; 64bit; BPC 7.0.2073.1; OS: 10.0.17134 SP 0.0 NT; TDB 38721; CL 1.0.0; x64c; APP ees; ASP 0.0; FW 0.0; PX 1; PUA 0; CD 1; RA 1; PEV 0; UNS 0; HWF: 0100F164-FAD7-5984-63AE-8F05FAB1AEE4; PLOC pl_pl; PCODE 111.0.0; PAR 0; ATH -1; DC 1; PLID 33B-R5W-HWM; SEAT 9532fdf1; RET 5003)"
av.firma.local:80 192.168.0.35 - proxy_user [14/Sep/2018:09:31:00 +0200] "GET http://update.eset.com/eset_upd/ep7/dll/update.ver HTTP/1.1" 200 11563 "-" "EES Update (Windows; U; 64bit; BPC 7.0.2073.1; OS: 10.0.17134 SP 0.0 NT; TDB 38721; CL 1.0.0; x64c; APP ees; ASP 0.0; FW 0.0; PX 1; PUA 0; CD 1; RA 1; PEV 0; UNS 0; HWF: 0100F164-FAD7-5984-63AE-8F05FAB1AEE4; PLOC pl_pl; PCODE 111.0.0; PAR 0; ATH -1; DC 1; PLID 33B-R5W-HWM; SEAT 9532fdf1; RET 5003)"
av.firma.local:80 192.168.0.35 - - [14/Sep/2018:09:31:01 +0200] "HEAD http://repository.eset.com/v1/com/eset/apps/business/ees/windows/metadata3 HTTP/1.1" 407 213 "-" "EES Update (Windows; U; 64bit; BPC 7.0.2073.1; OS: 10.0.17134 SP 0.0 NT; TDB 38721; CL 1.0.0; x64c; APP ees; ASP 0.0; FW 0.0; PX 1; PUA 0; CD 1; RA 1; PEV 0; UNS 0; HWF: 0100F164-FAD7-5984-63AE-8F05FAB1AEE4; PLOC pl_pl; PCODE 111.0.0; PAR 0; ATH -1; DC 1; PLID 33B-R5W-HWM; SEAT 9532fdf1; RET 5003)"
av.firma.local:80 192.168.0.35 - proxy_user [14/Sep/2018:09:31:01 +0200] "HEAD http://repository.eset.com/v1/com/eset/apps/business/ees/windows/metadata3 HTTP/1.1" 200 339 "-" "EES Update (Windows; U; 64bit; BPC 7.0.2073.1; OS: 10.0.17134 SP 0.0 NT; TDB 38721; CL 1.0.0; x64c; APP ees; ASP 0.0; FW 0.0; PX 1; PUA 0; CD 1; RA 1; PEV 0; UNS 0; HWF: 0100F164-FAD7-5984-63AE-8F05FAB1AEE4; PLOC pl_pl; PCODE 111.0.0; PAR 0; ATH -1; DC 1; PLID 33B-R5W-HWM; SEAT 9532fdf1; RET 5003)"
av.firma.local:80 192.168.0.35 - - [14/Sep/2018:09:31:01 +0200] "GET http://repository.eset.com/v1/com/eset/apps/business/ees/windows/metadata3 HTTP/1.1" 407 734 "-" "EES Update (Windows; U; 64bit; BPC 7.0.2073.1; OS: 10.0.17134 SP 0.0 NT; TDB 38721; CL 1.0.0; x64c; APP ees; ASP 0.0; FW 0.0; PX 1; PUA 0; CD 1; RA 1; PEV 0; UNS 0; HWF: 0100F164-FAD7-5984-63AE-8F05FAB1AEE4; PLOC pl_pl; PCODE 111.0.0; PAR 0; ATH -1; DC 1; PLID 33B-R5W-HWM; SEAT 9532fdf1; RET 5003)"
av.firma.local:80 192.168.0.35 - proxy_user [14/Sep/2018:09:31:01 +0200] "GET http://repository.eset.com/v1/com/eset/apps/business/ees/windows/metadata3 HTTP/1.1" 200 283053 "-" "EES Update (Windows; U; 64bit; BPC 7.0.2073.1; OS: 10.0.17134 SP 0.0 NT; TDB 38721; CL 1.0.0; x64c; APP ees; ASP 0.0; FW 0.0; PX 1; PUA 0; CD 1; RA 1; PEV 0; UNS 0; HWF: 0100F164-FAD7-5984-63AE-8F05FAB1AEE4; PLOC pl_pl; PCODE 111.0.0; PAR 0; ATH -1; DC 1; PLID 33B-R5W-HWM; SEAT 9532fdf1; RET 5003)"
av.firma.local:80 192.168.0.35 - - [14/Sep/2018:09:32:16 +0200] "CONNECT edf.eset.com:443 HTTP/1.1" 407 728 "-" "-"
av.firma.local:80 192.168.0.35 - proxy_user [14/Sep/2018:09:32:16 +0200] "CONNECT edf.eset.com:443 HTTP/1.1" 200 3834 "-" "-"
av.firma.local:80 192.168.0.120 - - [14/Sep/2018:09:32:45 +0200] "POST http://i4.c.eset.com:80/ HTTP/1.1" 407 784 "-" "-"
av.firma.local:80 192.168.0.120 - proxy_user [14/Sep/2018:09:32:45 +0200] "POST http://i4.c.eset.com:80/ HTTP/1.1" 200 19450 "-" "-"
av.firma.local:80 192.168.0.120 - - [14/Sep/2018:09:33:23 +0200] "CONNECT edf.eset.com:443 HTTP/1.1" 407 728 "-" "-"
av.firma.local:80 192.168.0.120 - proxy_user [14/Sep/2018:09:33:23 +0200] "CONNECT edf.eset.com:443 HTTP/1.1" 200 3781 "-"
Kod: Zaznacz cały
-
-
-
-
-
-
-
-
-
Kod: Zaznacz cały
ls -l /var/cache/apache2/
razem 4
drwxrwxrwx 2 www-data www-data 4096 cze 2 10:01 mod_cache_disk
sudo ls -ln /var/cache/apache2/mod_cache_disk/
razem 0
Z góry dziękuję za wszelkie sugestie.