{"id":238,"date":"2018-09-09T14:27:01","date_gmt":"2018-09-09T12:27:01","guid":{"rendered":"https:\/\/blog.chloesoe.ch\/?p=238"},"modified":"2018-09-27T16:46:16","modified_gmt":"2018-09-27T14:46:16","slug":"run-apache-on-windows-as-reverse-proxy-for-tomcat","status":"publish","type":"post","link":"https:\/\/blog.chloesoe.ch\/?p=238","title":{"rendered":"Run Apache on Windows as Reverse Proxy for Tomcat"},"content":{"rendered":"<h2>Steps<\/h2>\n<ol>\n<li>Make sure, in %TOMCATHOME%\\conf\\server.xml the connector is running on 8080 for http and 8443 for https, and the default 8009 on AJP<\/li>\n<li>Download Apache from http:\/\/www.apachelounge.com\/download\/ or use the ZIP from the screenFOOD server deployment artifcats<\/li>\n<li>Install \"C++ Redistributable Visual Studio 2017\" provided in the deployment artifacts \"VC_redist.x64.exe\"<\/li>\n<li>Unzip Apache to c:\\opt\\Apache24<\/li>\n<li>Copy <a href=\"https:\/\/blog.chloesoe.ch\/wp-content\/uploads\/2018\/09\/httpd.conf_.txt\">httpd.conf<\/a> and <a href=\"https:\/\/blog.chloesoe.ch\/wp-content\/uploads\/2018\/09\/reverseproxy.conf_.txt\">reverseproxy.conf<\/a> to C:\\opt\\Apache24\\conf. Make sure, <code>Include conf\/reverseproxy.conf<\/code> is set properly in <code>httpd.conf<\/code><\/li>\n<li>make sure in httpd.conf the SRVROOT is correct according to the install folder\n<pre><code>  Define SRVROOT \"C:\/opt\/Apache24\/\n<\/code><\/pre>\n<\/li>\n<li>Open CMD and CD to C:\\opt\\Apache24\\bin and run httpd.exe.\n<ul>\n<li>if it starts, install the service with\n<pre><code>httpd.exe -k install\n<\/code><\/pre>\n<\/li>\n<li>\n<p>if it does not start, some usefull errors are printed. Perhaps you have to activate\/deactivate some module<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Go to services.msc and start \"Apache2\"<\/p>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Steps Make sure, in %TOMCATHOME%\\conf\\server.xml the connector is running on 8080 for http and 8443 for https, and the default 8009 on AJP Download Apache from http:\/\/www.apachelounge.com\/download\/ or use the ZIP from the screenFOOD server deployment artifcats Install &#8220;C++ Redistributable Visual Studio 2017&#8221; provided in the deployment artifacts &#8220;VC_redist.x64.exe&#8221; Unzip Apache to c:\\opt\\Apache24 Copy httpd.conf&#8230; <a href=\"https:\/\/blog.chloesoe.ch\/?p=238\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Run Apache on Windows as Reverse Proxy for Tomcat<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-238","post","type-post","status-publish","format-standard","hentry","category-webserver"],"_links":{"self":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=238"}],"version-history":[{"count":7,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/238\/revisions"}],"predecessor-version":[{"id":251,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/238\/revisions\/251"}],"wp:attachment":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}