{"id":8662,"date":"2012-05-26T20:07:50","date_gmt":"2012-05-26T19:07:50","guid":{"rendered":"http:\/\/www.roger-pearse.com\/weblog\/?p=8662"},"modified":"2012-05-26T20:07:50","modified_gmt":"2012-05-26T19:07:50","slug":"from-my-diary-224","status":"publish","type":"post","link":"https:\/\/roger-pearse.com\/weblog\/2012\/05\/26\/from-my-diary-224\/","title":{"rendered":"From my diary"},"content":{"rendered":"<p style=\"text-align: justify;\">Microsoft do make some rubbish software, don&#8217;t they!<\/p>\n<p style=\"text-align: justify;\">This evening I sat down to work with the new Mithras pages that I am working on.\u00a0 This involves running a little web server on my PC, so that I can run some PHP scripts.<\/p>\n<p style=\"text-align: justify;\">Last weekend I installed (with some difficulty) IIS, FastCGI and PHP on my Windows7 box.\u00a0 This evening I fired it up again &#8230; and it didn&#8217;t work.\u00a0 Permissions problems, you see.<\/p>\n<blockquote>\n<p style=\"text-align: justify;\">You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server<\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\">What?<\/p>\n<p style=\"text-align: justify;\">Now this is me, on my personal PC.\u00a0 I trust me.\u00a0 I am happy with anything I want to do.\u00a0 I am administrator, even.\u00a0 So &#8230; <em>permissions problems<\/em>?\u00a0 And why now?\u00a0 Why is this a new problem?<\/p>\n<p style=\"text-align: justify;\">The error message gives me no idea what the problem is, and less what to do about it.\u00a0 I open the management console for IIS, and am presented with a baffling array of options.<\/p>\n<p style=\"text-align: justify;\">After half an hour and much Google searching, I stumble across <a href=\"http:\/\/stackoverflow.com\/questions\/8232922\/asp-pages-in-iis-using-localhost-401-3-error-do-not-have-permission\">this<\/a>, which gives the answer.\u00a0 I change the permissions on the home directory, add a user IUSR (why doesn&#8217;t IIS do this?) and another Everyone (ditto) and give both full control, and everything suddenly works.\u00a0 But I am now too frazzled to do what I originally had in mind.<\/p>\n<p style=\"text-align: justify;\">A web server is the simplest of objects.\u00a0 All it does is listen on a port, and, when you ask for a .htm file, send it down the pipe.\u00a0 That&#8217;s it.\u00a0 That is the function that it performs 90% of the time.\u00a0<\/p>\n<p style=\"text-align: justify;\">All the rest is minority activity.\u00a0 We call these &#8220;edge cases&#8221;, in computing speak.\u00a0 90% of the user cases is &#8220;copy file to port&#8221;.\u00a0 The rest is used much less.<\/p>\n<p style=\"text-align: justify;\">Yet Microsoft have produced a piece of software that fought for half an hour with a highly technical user who simply want to serve up pages to himself on his own PC.\u00a0 WHY???\u00a0<\/p>\n<p style=\"text-align: justify;\">Of course the reason is obvious.\u00a0 The developers have added functionality, and added it, and added it and added it until the thing has become a monster.\u00a0 You could probably connect my PC to the web and run a full-fledged server on it now.\u00a0 But &#8230; I don&#8217;t want or need any of that.\u00a0 I just want to display some html and run some PHP scripts.\u00a0 Like most people do, most of the time, who start up a web server on their own PC.<\/p>\n<p style=\"text-align: justify;\">Microsoft are very prone to this problem; to lose the main user case in catering to edge cases.\u00a0<\/p>\n<p style=\"text-align: justify;\">Idiots.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft do make some rubbish software, don&#8217;t they! This evening I sat down to work with the new Mithras pages that I am working on.\u00a0 This involves running a little web server on my PC, so that I can run some PHP scripts. Last weekend I installed (with some difficulty) IIS, FastCGI and PHP on [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_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":[19],"tags":[471],"class_list":["post-8662","post","type-post","status-publish","format-standard","hentry","category-from-my-diary-announcements","tag-computing"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/posts\/8662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/comments?post=8662"}],"version-history":[{"count":0,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/posts\/8662\/revisions"}],"wp:attachment":[{"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/media?parent=8662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/categories?post=8662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roger-pearse.com\/weblog\/wp-json\/wp\/v2\/tags?post=8662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}