{"id":2128,"date":"2015-03-19T13:14:00","date_gmt":"2015-03-19T13:14:00","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=2128"},"modified":"2015-03-19T13:14:00","modified_gmt":"2015-03-19T13:14:00","slug":"adding-extra-sites-folder-to-os-x-server-that-server-app-wont-destroy","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=2128","title":{"rendered":"Adding Extra sites folder to OS X Server that Server.app won&#8217;t destroy"},"content":{"rendered":"<p>Edit<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">\/Library\/Server\/Web\/Config\/apache2\/httpd_server_app.conf<\/div><\/div>\n<p>Look at the bottom for<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">&lt;IfDefine WEBSERVICE_ON&gt;<br \/>\n&nbsp; &nbsp; Include \/Library\/Server\/Web\/Config\/apache2\/sites\/*.conf<br \/>\n&lt;\/IfDefine&gt;<\/div><\/div>\n<p>Add a path to the customer Virtual Hosts folder<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">&lt;IfDefine WEBSERVICE_ON&gt;<br \/>\n&nbsp; &nbsp; Include \/Library\/Server\/Web\/Config\/apache2\/sites\/*.conf<br \/>\n&nbsp; &nbsp; Include \/Library\/Server\/Web\/Config\/apache2\/customsites\/*.conf<br \/>\n&lt;\/IfDefine&gt;<\/div><\/div>\n<p>Make a site in Server.app, then move the .conf file to the new location.<br \/>\nIf you are using a custom port add<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">Listen &nbsp;*:8100<\/div><\/div>\n<p>at the top of the .conf file outside of the VirtualHost sections<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Edit \/Library\/Server\/Web\/Config\/apache2\/httpd_server_app.conf Look at the bottom for &lt;IfDefine WEBSERVICE_ON&gt; &nbsp; &nbsp; Include \/Library\/Server\/Web\/Config\/apache2\/sites\/*.conf &lt;\/IfDefine&gt; Add a path to the customer Virtual Hosts [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2128","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2128"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2128\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}