{"id":151,"date":"2010-04-27T17:36:57","date_gmt":"2010-04-27T23:36:57","guid":{"rendered":"http:\/\/benincosa.com\/blog\/?p=151"},"modified":"2014-11-19T11:26:26","modified_gmt":"2014-11-19T17:26:26","slug":"rails-and-other-web-services-on-the-same-box","status":"publish","type":"post","link":"https:\/\/benincosa.com\/?p=151","title":{"rendered":"Rails and other web services on the same box"},"content":{"rendered":"<p>The <a href=\"http:\/\/sumavi.com\">Sumavisor<\/a> is built on top of <a href=\"http:\/\/xcat.sf.net\">xCAT<\/a>.  The Sumavisor is a rails application, with lots of xCAT plugins that sit on top of the base xCAT.\u00a0 One thing we had to work out was having a web server host a rails application (the Sumavisor) and allow xCAT to install nodes via HTTP.\u00a0 The solution is quit trivial thanks to my friend Ben.\u00a0 You simply add one line in the directories you don&#8217;t want Passenger to run in.\u00a0 So for xCAT, you put in \/etc\/httpd\/conf.d\/xcat.conf<\/p>\n<p>&lt;Directory &#8220;\/tftpboot&#8221;&gt;<br \/>\nOptions Indexes +FollowSymLinks +Includes MultiViews<br \/>\nAllowOverride None<br \/>\n<strong>PassengerEnabled off<\/strong><br \/>\nOrder allow,deny<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<br \/>\n&lt;Directory &#8220;\/install&#8221;&gt;<br \/>\nOptions Indexes +FollowSymLinks +Includes MultiViews<br \/>\nAllowOverride None<br \/>\n<strong>PassengerEnabled off<\/strong><br \/>\nOrder allow,deny<br \/>\nAllow from all<br \/>\n&lt;\/Directory&gt;<\/p>\n<p>That makes it so my code all runs very nice \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Sumavisor is built on top of xCAT. The Sumavisor is a rails application, with lots of xCAT plugins that sit on top of the base xCAT.\u00a0 One thing we had to work out was having a web server host a rails application (the Sumavisor) and allow xCAT to install nodes via HTTP.\u00a0 The solution&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[57,58,984,60,917],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/151"}],"collection":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=151"}],"version-history":[{"count":2,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":2823,"href":"https:\/\/benincosa.com\/index.php?rest_route=\/wp\/v2\/posts\/151\/revisions\/2823"}],"wp:attachment":[{"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/benincosa.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}