{"id":189,"date":"2008-09-30T23:08:52","date_gmt":"2008-09-30T14:08:52","guid":{"rendered":"http:\/\/www.rutake.com\/mywordpress\/?p=189"},"modified":"2008-09-30T23:08:52","modified_gmt":"2008-09-30T14:08:52","slug":"mod_proxy_ajp%e3%81%a7apache-tomcat%e9%80%a3%e6%90%ba","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2008\/09\/30\/mod_proxy_ajp%e3%81%a7apache-tomcat%e9%80%a3%e6%90%ba\/","title":{"rendered":"mod_proxy_ajp\u3067Apache Tomcat\u9023\u643a"},"content":{"rendered":"<p>\u524d\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u306b\u7d9a\u304dCentOS\u3067Java\u74b0\u5883\u69cb\u7bc9\u30b7\u30ea\u30fc\u30ba<\/p>\n<p>Apache2.2\u306b\u306a\u3063\u3066mod_proxy_ajp\u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u308a\u3001mod_jk(\u3082\u306f\u3084\u975e\u63a8\u5968\uff09\u306e\u6642\u4ee3\u3088\u308a\u683c\u6bb5\u306b\u697d\u306b\u306a\u3063\u305f\u3002\n<\/p>\n<p>\n\u901a\u5e38CentOS\u306eApache2.2\u306b\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3059\u3067\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u72b6\u614b\u306a\u306e\u3067\u5f8c\u306fTomcat\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u9023\u643a\u306e\u8a2d\u5b9a\u3092httpd.conf\u306b\u52a0\u3048\u308b\u3060\u3051\u3068\u306a\u308b\u3002\n<\/p>\n<h2>Tomcat\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u89e3\u51cd\u3059\u308b\u3002\/usr\/java\u306b\u89e3\u51cd\u3057\u3066startup.sh\u3092\u5b9f\u884c\u3057\u305f\u3089\u305d\u306e\u307e\u307e\u5b9f\u884c\u3067\u304d\u305f\u3002<br \/>\n\u74b0\u5883\u5909\u6570\u306e\u8a2d\u5b9a\u3044\u3089\u306a\u3044\u3093\u3060\u30fb\u30fb\u30fb<\/p>\n<p>\u4e00\u5fdc\u30d6\u30e9\u30a6\u30b6\u3067\u5358\u4f53\u3067\u52d5\u304f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304a\u3053\u3046<\/p>\n<p>http:\/\/\u30b5\u30fc\u30d0IP:8080\/<\/p>\n<h2>httpd.conf\u306e\u8a2d\u5b9a<\/h2>\n<p>\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092httpd.conf\u306b\u52a0\u3048\u308b\u3060\u3051\u3001LoadModule\u306e\u8a2d\u5b9a\u306f\u4e0d\u8981\u3060\u304c\u3001<br \/>\nVineLinux\u3067\u3084\u308b\u3068\u304d\u306f\u5fc5\u8981\u3060\u3063\u305f\u306e\u3067\u30b3\u30e1\u30f3\u30c8\u884c\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u3044\u305f\u3002<\/p>\n<p>#Tomcat Connect Setting<br \/>\n#LoadModule proxy_module modules\/mod_proxy.so<br \/>\n#LoadModule proxy_ajp_module modules\/mod_proxy_ajp.so<br \/>\n&lt;Location \/examples\/&gt;<br \/>\n&nbsp; ProxyPass ajp:\/\/127.0.0.1:8009\/examples\/<br \/>\n&lt;\/Location&gt;<\/p>\n<h2>\u9023\u643a\u78ba\u8a8d<\/h2>\n<p>http:\/\/\u30b5\u30fc\u30d0IP\/examples\/<\/p>\n<p>Tomcat\u306e\u30b5\u30f3\u30d7\u30eb\u304c\u51fa\u3066\u304f\u308c\u3070\uff2f\uff2b<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u306b\u7d9a\u304dCentOS\u3067Java\u74b0\u5883\u69cb\u7bc9\u30b7\u30ea\u30fc\u30ba Apache2.2\u306b\u306a\u3063\u3066mod_proxy_ajp\u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u308a\u3001mod_jk(\u3082\u306f\u3084\u975e\u63a8\u5968\uff09\u306e\u6642\u4ee3\u3088\u308a\u683c\u6bb5\u306b\u697d\u306b\u306a\u3063\u305f\u3002 \u901a\u5e38CentOS\u306eApache2.2\u306b\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3059\u3067\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u72b6\u614b\u306a\u306e\u3067\u5f8c\u306fTomcat\u306e\u30a4\u30f3\u30b9\u30c8&#8230; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2008\/09\/30\/mod_proxy_ajp%e3%81%a7apache-tomcat%e9%80%a3%e6%90%ba\/\">\u7d9a\u304d\u3092\u8aad\u3080 <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":[],"categories":[3,355,10],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/189"}],"collection":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/comments?post=189"}],"version-history":[{"count":0,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/189\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}