{"id":207,"date":"2003-01-10T19:55:46","date_gmt":"2003-01-10T23:55:46","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=207"},"modified":"2003-01-10T19:55:46","modified_gmt":"2003-01-10T23:55:46","slug":"trailing-slash-in-iis","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2003\/01\/10\/trailing-slash-in-iis\/","title":{"rendered":"Trailing slash in IIS"},"content":{"rendered":"<p>If you&#8217;re managing a site on IIS, please use a trailing slash when specifying the home directory in IIS Manager.  I must have spent an hour tracking down an apparent bug that turned out to be nothing more than a home directory that looked like this:<\/p>\n<p>d:\\inetpub\\thehost.com\\wwwroot<\/p>\n<p>rather than<\/p>\n<p>d:\\inetpub\\thehost.com\\wwwroot\\<\/p>\n<p>Don&#8217;t know that it actually matters all that much, but if you&#8217;re using the <a href=\"http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/iisref\/html\/psdk\/asp\/vbob9waa.asp\">server.transfer()<\/a> or <a href=\"http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/iisref\/html\/psdk\/asp\/vbob9pid.asp?frame=true\">server.execute()<\/a> methods of the <a href=\"http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/iisref\/html\/psdk\/asp\/vbob7838.asp\">server<\/a> object in ASP, you&#8217;ll get errors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re managing a site on IIS, please use a trailing slash when specifying the home directory in IIS Manager. I must have spent an hour tracking down an apparent bug that turned out to be nothing more than a home directory that looked like this: d:\\inetpub\\thehost.com\\wwwroot rather than d:\\inetpub\\thehost.com\\wwwroot\\ Don&#8217;t know that it actually &hellip; <a href=\"https:\/\/cephas.net\/blog\/2003\/01\/10\/trailing-slash-in-iis\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Trailing slash in IIS<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/207"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}