{"id":6416,"date":"2025-01-02T20:15:57","date_gmt":"2025-01-02T19:15:57","guid":{"rendered":"https:\/\/ekiwi.de\/?p=6416"},"modified":"2025-01-02T20:15:57","modified_gmt":"2025-01-02T19:15:57","slug":"404-fehler-fuer-icons-ordner-bei-apache-webservern","status":"publish","type":"post","link":"https:\/\/ekiwi.de\/index.php\/6416\/404-fehler-fuer-icons-ordner-bei-apache-webservern\/","title":{"rendered":"404 Fehler f\u00fcr &#8222;icons&#8220; Ordner bei Apache Webservern"},"content":{"rendered":"<p>Icons Ordner verh\u00e4lt sich speziell?<\/p>\n<p><!--more--><\/p>\n<p>Eine neue Webseite habe ich mit <a href=\"https:\/\/andydunkel.net\/2024\/10\/31\/webseite-mit-hugo-erstellt\/\" target=\"_blank\" rel=\"noopener noreferrer\">Hugo erstellt<\/a>. Hugo geniert eine statische Webseite. Mein Theme verwendet einen &#8222;icons&#8220; Ordner.<\/p>\n<p>Online musste ich dann feststellen, dass die Icons und Dateien aus dem Ordner nicht zugreifbar waren. Obwohl diese auf dem Webspace laden.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/01\/icons_1.webp\" alt=\"\" width=\"800\" height=\"416\" class=\"alignnone size-full wp-image-6417\" srcset=\"\/wp-content\/uploads\/2025\/01\/icons_1.webp 800w, \/wp-content\/uploads\/2025\/01\/icons_1-300x156.webp 300w, \/wp-content\/uploads\/2025\/01\/icons_1-768x399.webp 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>Es hat ein wenig gedauert, bis ich darauf gekommen, dass es am Ordner &#8222;icons&#8220; lag. Htaccess gepr\u00fcft, daran lag es nicht. Anscheinend ist der Ordner f\u00fcr &#8222;icons&#8220; speziell bei Apache-Webservern, dort sind Standardicons hinterlegt, wie der folgende Aufruf zeigt.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/01\/icons_2.webp\" alt=\"\" width=\"534\" height=\"259\" class=\"alignnone size-full wp-image-6419\" srcset=\"\/wp-content\/uploads\/2025\/01\/icons_2.webp 534w, \/wp-content\/uploads\/2025\/01\/icons_2-300x146.webp 300w\" sizes=\"auto, (max-width: 534px) 100vw, 534px\" \/><\/p>\n<p>Die L\u00f6sung war nun einfach den Ordner f\u00fcr die Icons anders zu benennen, mit &#8222;icon&#8220; ging es dann ohne Probleme.<\/p>","protected":false},"excerpt":{"rendered":"<p>Icons Ordner verh\u00e4lt sich speziell?<\/p>\n","protected":false},"author":1,"featured_media":64,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[12],"tags":[73,1298],"class_list":["post-6416","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-apache","tag-hugo"],"_links":{"self":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/posts\/6416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/comments?post=6416"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/posts\/6416\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/media\/64"}],"wp:attachment":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/media?parent=6416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/categories?post=6416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/tags?post=6416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}