{"id":272989,"date":"2023-12-29T11:39:09","date_gmt":"2023-12-29T02:39:09","guid":{"rendered":"https:\/\/www.singapore-startup.com\/?p=272989"},"modified":"2023-12-29T11:39:09","modified_gmt":"2023-12-29T02:39:09","slug":"400-bad-request%e3%81%ae%e6%82%a9%e3%81%bf%e3%82%92%e8%a7%a3%e6%b6%88%ef%bc%81apache-2-4%e5%af%be%e5%bf%9c%e3%81%ae%e5%ae%8c%e5%85%a8%e3%82%ac%e3%82%a4%e3%83%89","status":"publish","type":"post","link":"https:\/\/www.singapore-startup.com\/?p=272989","title":{"rendered":"400 Bad Request\u306e\u60a9\u307f\u3092\u89e3\u6d88\uff01Apache 2.4\u5bfe\u5fdc\u306e\u5b8c\u5168\u30ac\u30a4\u30c9"},"content":{"rendered":"<div class=\"aafe36d7afa19a8010513acdd90193c0\" data-index=\"1\" style=\"float: none; margin:0px 0 0px 0; text-align:center;\">\n<center>Sponsored Link<\/center>\r\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- Article upper_singapore-startup.com -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-8303070969424899\"\r\n     data-ad-slot=\"5656608650\"\r\n     data-ad-format=\"rectangle\"><\/ins>\r\n<script>\r\n(adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<h1>Apache 2.4\u3067400 Bad Request\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u539f\u56e0\u3068\u5bfe\u7b56<\/h1>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u3000Web\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3084\u904b\u7528\u306b\u304a\u3044\u3066\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6b63\u3057\u304f\u51e6\u7406\u3055\u308c\u305a\u306b\u300c400 Bad Request\u300d\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u306f\u73cd\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u7279\u306bApache 2.4\u3067\u306f\u3001\u3088\u308a\u53b3\u683c\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u51e6\u7406\u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304b\u3089\u306e\u79fb\u884c\u6642\u306b\u3053\u306e\u554f\u984c\u306b\u76f4\u9762\u3059\u308b\u30b1\u30fc\u30b9\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3000\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Apache 2.4\u3067400 Bad Request\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u4e3b\u306a\u539f\u56e0\u3068\u3001\u305d\u308c\u306b\u5bfe\u3059\u308b\u89e3\u6c7a\u7b56\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h2>400 Bad Request\u30a8\u30e9\u30fc\u306e\u4e00\u822c\u7684\u306a\u539f\u56e0<\/h2>\n<p>1. <strong>\u4e0d\u6b63\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u30d5\u30a9\u30fc\u30de\u30c3\u30c8<\/strong>: RFC7230\u306b\u6e96\u62e0\u3057\u3066\u3044\u306a\u3044\u30ea\u30af\u30a8\u30b9\u30c8\u30e9\u30a4\u30f3\u3084\u30d8\u30c3\u30c0\u30fc\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u3001Apache\u306f400\u30a8\u30e9\u30fc\u3092\u8fd4\u3057\u307e\u3059\u3002\u7279\u306b\u3001\u7a7a\u767d\u6587\u5b57\u306e\u6271\u3044\u304c\u53b3\u683c\u306b\u306a\u3063\u305f\u3053\u3068\u3067\u3001\u4ee5\u524d\u306f\u8a31\u5bb9\u3055\u308c\u3066\u3044\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3082\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>2. <strong>\u4e0d\u6b63\u306a\u6587\u5b57\u306e\u4f7f\u7528<\/strong>: \u4f8b\u3048\u3070\u3001\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u306e`ServerName`\u306b\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\uff08_\uff09\u306a\u3069\u306e\u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3068\u3001Apache 2.4\u306f400\u30a8\u30e9\u30fc\u3092\u8fd4\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>3. <strong>\u8a2d\u5b9a\u306e\u8aa4\u308a<\/strong>: `mod_ssl`\u306e\u8a2d\u5b9a\u30df\u30b9\u3084\u3001\u305d\u306e\u4ed6\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a2d\u5b9a\u8aa4\u308a\u3082400\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u306a\u308a\u5f97\u307e\u3059\u3002<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h2>\u89e3\u6c7a\u7b56\u3068\u5bfe\u7b56<\/h2>\n<p>1. <strong>\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u691c\u8a3c<\/strong>: \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u3057\u3001RFC7230\u306b\u6e96\u62e0\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u7279\u306b\u3001HTTP\/1.1\u306e\u5f8c\u306eCRLF\u524d\u306e\u7a7a\u767d\u6587\u5b57\u306a\u3069\u3001\u7d30\u304b\u3044\u90e8\u5206\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>2. <strong>\u4e0d\u6b63\u306a\u6587\u5b57\u306e\u4fee\u6b63<\/strong>: `ServerName`\u306b\u4e0d\u6b63\u306a\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u304b\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4fee\u6b63\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u3092\u30cf\u30a4\u30d5\u30f3\u3084\u30c9\u30c3\u30c8\u306b\u7f6e\u304d\u63db\u3048\u308b\u306a\u3069\u306e\u5bfe\u5fdc\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>3. <strong>\u8a2d\u5b9a\u306e\u898b\u76f4\u3057<\/strong>: `mod_ssl`\u3084\u305d\u306e\u4ed6\u306e\u95a2\u9023\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a2d\u5b9a\u3092\u518d\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4fee\u6b63\u3057\u307e\u3059\u3002\u7279\u306b\u3001\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3078\u306e\u79fb\u884c\u6642\u306b\u306f\u3001\u5909\u66f4\u3055\u308c\u305f\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3084\u65b0\u3057\u3044\u6307\u4ee4\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h2>\u8ffd\u52a0\u306e\u8003\u616e\u4e8b\u9805<\/h2>\n<p>4. <strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8a2d\u5b9a\u306e\u78ba\u8a8d<\/strong>: Apache 2.4\u3067\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u5f37\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002`HttpProtocolOptions`\u3084`mod_security`\u306a\u3069\u306e\u8a2d\u5b9a\u304c\u53b3\u683c\u5316\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u3053\u308c\u3089\u306e\u8a2d\u5b9a\u306b\u4e0d\u5099\u304c\u306a\u3044\u304b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002\u7279\u306b\u3001\u4e0d\u6b63\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u304c\u3001\u8aa4\u3063\u3066\u6b63\u5e38\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u3082\u30d6\u30ed\u30c3\u30af\u3057\u3066\u3044\u306a\u3044\u304b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>5. <strong>\u30ed\u30b0\u306e\u8a73\u7d30\u306a\u5206\u6790<\/strong>: \u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u969b\u306b\u306f\u3001Apache\u306e`error_log`\u3084`access_log`\u3092\u8a73\u7d30\u306b\u5206\u6790\u3057\u307e\u3059\u3002\u30ed\u30b0\u306b\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u8a73\u7d30\u3084\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u304f\u3001\u554f\u984c\u89e3\u6c7a\u306e\u624b\u304c\u304b\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>6. <strong>\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3084\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u6d3b\u7528<\/strong>: Apache\u306f\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u591a\u304f\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3084\u30d5\u30a9\u30fc\u30e9\u30e0\u3067\u60c5\u5831\u304c\u5171\u6709\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u7279\u5b9a\u306e\u30a8\u30e9\u30fc\u306b\u3064\u3044\u3066\u306f\u3001Apache\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3084Stack Overflow\u306a\u3069\u306e\u6280\u8853\u7cfb\u30b5\u30a4\u30c8\u3092\u53c2\u7167\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h3>\u95a2\u9023\u30ea\u30f3\u30af\u306e\u8ffd\u52a0<\/h3>\n<p>&#8211; [<span style=\"text-decoration: underline; color: #0000ff;\"><a href=\"https:\/\/httpd.apache.org\/docs\/\" style=\"color: #0000ff; text-decoration: underline;\">Apache HTTP Server Documentation<\/a><\/span>]\n<p>&#8211; [<span style=\"text-decoration: underline; color: #0000ff;\"><a href=\"https:\/\/tools.ietf.org\/html\/rfc7230\" style=\"color: #0000ff; text-decoration: underline;\">RFC7230 &#8211; Hypertext Transfer Protocol (HTTP\/1.1): Message Syntax and Routing<\/a><\/span>]\n<p>&nbsp;<\/p>\n<p>\u3000\u3053\u306e\u8a18\u4e8b\u304cApache 2.4\u3067400 Bad Request\u30a8\u30e9\u30fc\u306b\u76f4\u9762\u3057\u3066\u3044\u308b\u65b9\u3005\u306e\u4e00\u52a9\u3068\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u89e3\u6c7a\u7b56\u306f\u591a\u5c90\u306b\u308f\u305f\u308b\u305f\u3081\u3001\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u9069\u5207\u306a\u5bfe\u5fdc\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Apache 2.4\u3067400 Bad Request\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u539f\u56e0\u3068\u5bfe\u7b56 \u306f\u3058\u3081\u306b \u3000Web\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3084\u904b\u7528\u306b\u304a\u3044\u3066\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6b63\u3057\u304f\u51e6\u7406\u3055\u308c\u305a\u306b\u300c400 Bad Request\u300d\u30a8\u30e9\u30fc\u304c\u767a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[418082],"class_list":["post-272989","post","type-post","status-publish","format-standard","category-1","tag-400-bad-request-apache-2-4","article cf"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/posts\/272989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=272989"}],"version-history":[{"count":2,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/posts\/272989\/revisions"}],"predecessor-version":[{"id":272991,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/posts\/272989\/revisions\/272991"}],"wp:attachment":[{"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=272989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=272989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=272989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}