{"id":8837,"date":"2018-10-23T17:44:24","date_gmt":"2018-10-23T16:44:24","guid":{"rendered":"https:\/\/kb.okra.host\/article\/static-files-served-without-recording-hit-to-access_log\/"},"modified":"2021-04-06T14:42:45","modified_gmt":"2021-04-06T13:42:45","slug":"static-files-served-without-recording-hit-to-access_log","status":"publish","type":"ht_kb","link":"https:\/\/kb.okra.host\/de\/article\/static-files-served-without-recording-hit-to-access_log\/","title":{"rendered":"Statische Dateien, die ohne Aufzeichnung von Treffern in access_log serviert werden"},"content":{"rendered":"<h2 id=\"overview\" >\u00dcbersicht<\/h2>\n<p>Static files (index.html) can be served without logging a request in <a href=\"https:\/\/kb.apiscp.com\/web-content\/accessing-page-views-and-error-messages\/\">access_log<\/a>.<\/p>\n<h2 id=\"cause\" >Ursache<\/h2>\n<p>This occurs when mod_pagespeed is enabled. Pagespeed intercepts the request higher in Apache&#8217;s <a href=\"http:\/\/www.apachetutor.org\/dev\/request#Request%20Processing%20Phases\">processing axis<\/a> before <a href=\"http:\/\/httpd.apache.org\/docs\/current\/mod\/mod_log_config.html\">mod_log_config<\/a> and serves the static file from its optimized cache if present. This does not affect files which have a <code>Pragma: no-cache<\/code> header such as with PHP files.<\/p>\n<h2 id=\"solution\" >L\u00f6sung<\/h2>\n<p>Disable <a href=\"https:\/\/kb.apiscp.com\/web-content\/disabling-pagespeed\">mod_pagespeed<\/a>. If visitor statistics are necessary, then consider utilizing <a href=\"https:\/\/kb.apiscp.com\/control-panel\/linking-google-analytics\/\">Google Analytics<\/a> which is accessible from within apnscp.<\/p>","protected":false},"excerpt":{"rendered":"<p>Overview Static files (index.html) can be served without logging a request in access_log. Cause This occurs when mod_pagespeed is enabled. Pagespeed intercepts the request higher in Apache&#8217;s processing axis before mod_log_config and serves the static file from its optimized cache if present. This does not affect files which have a&#8230;<\/p>","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[54],"ht-kb-tag":[],"class_list":["post-8837","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-web-content"],"_links":{"self":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/comments?post=8837"}],"version-history":[{"count":1,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8837\/revisions"}],"predecessor-version":[{"id":8838,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8837\/revisions\/8838"}],"wp:attachment":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/media?parent=8837"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-category?post=8837"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=8837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}