{"id":51,"date":"2007-07-16T23:02:34","date_gmt":"2007-07-16T23:02:34","guid":{"rendered":"https:\/\/www.wapshere.com\/missmiis\/?p=51"},"modified":"2023-01-16T08:51:26","modified_gmt":"2023-01-16T08:51:26","slug":"an-xma-to-create-apache-websites","status":"publish","type":"post","link":"https:\/\/www.wapshere.com\/missmiis\/an-xma-to-create-apache-websites","title":{"rendered":"An XMA to Create Apache Websites"},"content":{"rendered":"<p>Once you get the hang of Extensible MAs a whole world of possibilities opens up. If you&#8217;re trying to achieve something that is related to Identity in some way, and it&#8217;s scriptable, then you can do it with an XMA.<\/p>\n<p>One such example I came across, in a university environment, was personal websites. Certain users were eligible for a personal website but the creation and deletion of them was ad-hoc and unreliable. A user had to request the site be created, and then wait up to two weeks while the request was bounced around to various people, invariably including a few premature call closures, and re-openings by the increasingly disgusted user.<\/p>\n<p>I felt this to be an excellent candidate for automation. The websites were on an Apache server so I wrote shell scripts to do all the work of creating\/deleting the sites and the associated accounts (which I&#8217;m sorry but I&#8217;m not including because they are too site-specific and potentially sensitive). The scripts could then be called from the Windows environment using <a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html\" target=\"_blank\" rel=\"noopener noreferrer\">plink<\/a>.<\/p>\n<p>The design of the XMA is almost identical to the one I described for <a href=\"https:\/\/www.wapshere.com\/missmiis\/?p=15\">Netware home directories<\/a>. The only real difference is the commands I call as part of the Export step in the CSExtension. I also <a href=\"https:\/\/www.wapshere.com\/missmiis\/?p=40\">archive the websites<\/a> through a Samba share in exactly the same way.<\/p>\n<p>To see the entire CSExtension <a title=\"PersonalWebsites_CSExtension\" href=\"https:\/\/www.wapshere.com\/missmiis\/?page_id=52\">click here<\/a>.<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once you get the hang of Extensible MAs a whole world of possibilities opens up. If you&#8217;re trying to achieve something that is related to Identity in some way, and it&#8217;s scriptable, then you can do it with an XMA. One such example I came across, in a university environment, was personal websites. Certain users&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[34,28,30],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-ilm2007","category-miis2003","category-vbnet"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pkp1o-P","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":3,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":3369,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/51\/revisions\/3369"}],"wp:attachment":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}