{"action":"opened","issue":{"url":"https://api.github.com/repos/ridercz/AutoACME/issues/9","repository_url":"https://api.github.com/repos/ridercz/AutoACME","labels_url":"https://api.github.com/repos/ridercz/AutoACME/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/ridercz/AutoACME/issues/9/comments","events_url":"https://api.github.com/repos/ridercz/AutoACME/issues/9/events","html_url":"https://github.com/ridercz/AutoACME/issues/9","id":296115093,"number":9,"title":"Web.config error: duplicate ‘mimeMap’","user":{"login":"lfurzewaddock","id":5821497,"avatar_url":"https://avatars2.githubusercontent.com/u/5821497?v=4","gravatar_id":"","url":"https://api.github.com/users/lfurzewaddock","html_url":"https://github.com/lfurzewaddock","followers_url":"https://api.github.com/users/lfurzewaddock/followers","following_url":"https://api.github.com/users/lfurzewaddock/following{/other_user}","gists_url":"https://api.github.com/users/lfurzewaddock/gists{/gist_id}","starred_url":"https://api.github.com/users/lfurzewaddock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfurzewaddock/subscriptions","organizations_url":"https://api.github.com/users/lfurzewaddock/orgs","repos_url":"https://api.github.com/users/lfurzewaddock/repos","events_url":"https://api.github.com/users/lfurzewaddock/events{/privacy}","received_events_url":"https://api.github.com/users/lfurzewaddock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-10T16:52:52Z","updated_at":"2018-02-10T16:52:52Z","closed_at":null,"author_association":"NONE","body":"To resolve the following IIS error;\r\n\r\n> Cannot add duplicate collection entry of type ‘mimeMap’ with unique key attribute ‘fileExtension’ set to ‘.’\r\n\r\nI needed to add the following line to the generated web.config\r\n\r\n`<remove fileExtension=\".\" `/>\r\n\r\nPerhaps its worth adding this by default?\r\n\r\n```\r\n<configuration>\r\n  <system.webServer>\r\n    <staticContent>\r\n      <!--\r\n        ACME server requires that the verification file is served either without\r\n        Content-Type header or with \"text/json\". This setting ensures that.\r\n      -->\r\n      <remove fileExtension=\".\" />\r\n      <mimeMap fileExtension=\".\" mimeType=\"text/json\" />\r\n    </staticContent>\r\n  </system.webServer>\r\n</configuration>\r\n```\r\n\r\nGreat work by the way and thanks for the clear step by step instructions!"}}
{"actor":{"display_login":"lfurzewaddock"}}