{"id":33,"date":"2008-03-13T09:37:19","date_gmt":"2008-03-13T00:37:19","guid":{"rendered":"https:\/\/hiro7216.mydns.jp\/blog\/?p=33"},"modified":"2024-01-30T23:37:50","modified_gmt":"2024-01-30T14:37:50","slug":"apache2-indexes%e3%81%ae%e6%96%87%e5%ad%97%e5%8c%96%e3%81%91","status":"publish","type":"post","link":"https:\/\/hiro7216.mydns.jp\/blog\/?p=33","title":{"rendered":"Apache2 Indexes\u306e\u6587\u5b57\u5316\u3051"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Apache2\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u3066\u307f\u305f\u3068\u3053\u308dIndexes\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u89a7\u3092\u8868\u793a\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\u304c\u6587\u5b57\u5316\u3051\u3092\u8d77\u3053\u3057\u307e\u3057\u305f\u3002<br>\u5185\u90e8Charset\u306fUTF-8\u3067AddDefaultCharset\u3082UTF-8\u3001apache2\/conf.d\/charset\u3082UTF-8<br>\u3064\u3044\u3067\u306bphp.ini\u306eDefaultChaset\u3082UTF-8\u3067\u306a\u305c\u6587\u5b57\u5316\u3051\u3059\u308b\u306e\u304b\u7406\u89e3\u4e0d\u80fd\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8abf\u3079\u3066\u307f\u308b\u3068\u540c\u3058\u75c7\u72b6\u306b\u306a\u3063\u305f\u65b9\u304c\u3044\u308b\u3088\u3046\u3067\u3059\u306d\u3002<br>\u4e00\u5fdchttp:\/\/www.apache.org\/dist\/httpd\/CHANGES_2.2.6\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u306a\u3093\u3068\u3082\uff08\u7b11\uff09<br><span style=\"color: #ff0000;\">\u203b\u65e2\u306b\u30ea\u30f3\u30af\u5148\u306e\u30b5\u30a4\u30c8\u306f\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">*) mod_autoindex: Add in Type and Charset options to IndexOptions<br>directive. This allows the admin to explicitly set the<br>content-type and charset of the generated page and is therefore<br>a viable workaround for buggy browsers affected by CVE-2007-4465<br>(cve.mitre.org). [Jim Jagielski]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6765\u306f\/conf\/extra\/httpd-autoindex.conf\u3092\u66f8\u304d\u63db\u3048\u308b\u306e\u3067\u3059\u304cDebian\u6a19\u6e96\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u306f<br>Apache2.conf\u306b\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u76f4\u63a5\u5f04\u3063\u3061\u3083\u3044\u307e\u3059\uff01<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apache2.conf\u306e \u30bb\u30af\u30b7\u30e7\u30f3\u306e\u4ee5\u4e0b\u306e\u884c\u306b Charset=UTF-8\u3092\u8db3\u305b\u3070OK\u3067\u3059\u3002<br>\u203bUTF-8\u306e\u90e8\u5206\u306f\u3054\u81ea\u5206\u306e\u74b0\u5883\u306eCharset\u3067\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5909\u66f4\u524d<br>IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=*<br>\u5909\u66f4\u5f8c<br>IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=* Charset=UTF-8<br>\u2191\u6b21\u306e\u884c\u3067\u306f\u306a\u304f\u4e00\u884c\u3067\u66f8\u304d\u307e\u3059<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u7136\u306a\u304c\u3089\u5909\u66f4\u3057\u305f\u3089Apache2\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\u518d\u8d77\u52d5\u5f8c\u306bIndexes\u306a\u30da\u30fc\u30b8\u3092\u518d\u8868\u793a\u3057\u305f\u3089\u6587\u5b57\u5316\u3051\u304c\u89e3\u6d88\u3055\u308c\u3066\u307e\u3057\u305f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache2\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u3066\u307f\u305f\u3068\u3053\u308dIndexes\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u89a7\u3092\u8868\u793a\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\u304c\u6587\u5b57\u5316\u3051\u3092\u8d77\u3053\u3057\u307e\u3057\u305f\u3002\u5185\u90e8Charset\u306fUTF-8\u3067AddDefaultCharset\u3082UTF-8\u3001apache2\/c &hellip; <a href=\"https:\/\/hiro7216.mydns.jp\/blog\/?p=33\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Apache2 Indexes\u306e\u6587\u5b57\u5316\u3051<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[62],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-apache2","tag-apache2"],"_links":{"self":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":0,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/33\/revisions"}],"wp:attachment":[{"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hiro7216.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}