{"id":2646,"date":"2015-08-24T16:26:58","date_gmt":"2015-08-24T20:26:58","guid":{"rendered":"http:\/\/antipaucity.com\/?p=2646"},"modified":"2015-08-24T16:26:58","modified_gmt":"2015-08-24T20:26:58","slug":"reverse-proxying-from-apache-to-tomcat","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=2646","title":{"rendered":"reverse proxying from apache to tomcat"},"content":{"rendered":"<p>After much hemming and hawing, I was able to get {{Apache}} working as a reverse proxy to {{Tomcat}} today.<\/p>\n<pre>&lt;VirtualHost *:80&gt;\n    ServerName domain.com\n    ServerAlias www.domain.com\n    ProxyPreserveHost on\n    ProxyPass \/ http:\/\/localhost:8080\/path\/\n    ProxyPassReverse \/ http:\/\/domain.com:8080\/path\/\n&lt;\/VirtualHost&gt;\n<\/pre>\n<p>That&#8217;s all you need (though you can add much more). Note the trailing slashes on the proxy paths &#8211; without them, you have no dice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After much hemming and hawing, I was able to get {{Apache}} working as a reverse proxy to {{Tomcat}} today. &lt;VirtualHost *:80&gt; ServerName domain.com ServerAlias www.domain.com ProxyPreserveHost on ProxyPass \/ http:\/\/localhost:8080\/path\/ ProxyPassReverse \/ http:\/\/domain.com:8080\/path\/ &lt;\/VirtualHost&gt; That&#8217;s all you need (though you can add much more). Note the trailing slashes on the proxy paths &#8211; without them, &hellip;<br \/><a href=\"https:\/\/merikebi.warrenmyers.com\/?p=2646\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">reverse proxying from apache to tomcat<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[41],"tags":[97,601,779],"keyring_services":[],"class_list":["post-2646","post","type-post","status-publish","format-standard","hentry","category-technical","tag-apache","tag-proxy","tag-tomcat"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/2646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2646"}],"version-history":[{"count":0,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/2646\/revisions"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2646"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=2646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}