{"action":"created","issue":{"url":"https://api.github.com/repos/madskristensen/MiniBlog/issues/190","labels_url":"https://api.github.com/repos/madskristensen/MiniBlog/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/madskristensen/MiniBlog/issues/190/comments","events_url":"https://api.github.com/repos/madskristensen/MiniBlog/issues/190/events","html_url":"https://github.com/madskristensen/MiniBlog/issues/190","id":72873118,"number":190,"title":"Configuring MiniBlog as Virtual Application","user":{"login":"edrohler","id":2218823,"avatar_url":"https://avatars.githubusercontent.com/u/2218823?v=3","gravatar_id":"","url":"https://api.github.com/users/edrohler","html_url":"https://github.com/edrohler","followers_url":"https://api.github.com/users/edrohler/followers","following_url":"https://api.github.com/users/edrohler/following{/other_user}","gists_url":"https://api.github.com/users/edrohler/gists{/gist_id}","starred_url":"https://api.github.com/users/edrohler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edrohler/subscriptions","organizations_url":"https://api.github.com/users/edrohler/orgs","repos_url":"https://api.github.com/users/edrohler/repos","events_url":"https://api.github.com/users/edrohler/events{/privacy}","received_events_url":"https://api.github.com/users/edrohler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-03T22:10:49Z","updated_at":"2015-05-13T08:37:21Z","closed_at":null,"body":"I am using VS2015 with a base ASP.NET Website at www and would like it to be www.domain.com/blog. I copied the mini blog application to a \"blog\" subfolder, set it as a virtual directory in applicationhosting.config but keep receiving errors.\r\n\r\nIs the documentation out of date for the Virtual Application section?\r\nDo I need to make any changes to the root level web.config, if so, what?\r\nAlso, I am using IIS Express I hope to deploy it to Azure as a single web application if that is possible."},"comment":{"url":"https://api.github.com/repos/madskristensen/MiniBlog/issues/comments/101573991","html_url":"https://github.com/madskristensen/MiniBlog/issues/190#issuecomment-101573991","issue_url":"https://api.github.com/repos/madskristensen/MiniBlog/issues/190","id":101573991,"user":{"login":"bilalashraf1","id":1809738,"avatar_url":"https://avatars.githubusercontent.com/u/1809738?v=3","gravatar_id":"","url":"https://api.github.com/users/bilalashraf1","html_url":"https://github.com/bilalashraf1","followers_url":"https://api.github.com/users/bilalashraf1/followers","following_url":"https://api.github.com/users/bilalashraf1/following{/other_user}","gists_url":"https://api.github.com/users/bilalashraf1/gists{/gist_id}","starred_url":"https://api.github.com/users/bilalashraf1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilalashraf1/subscriptions","organizations_url":"https://api.github.com/users/bilalashraf1/orgs","repos_url":"https://api.github.com/users/bilalashraf1/repos","events_url":"https://api.github.com/users/bilalashraf1/events{/privacy}","received_events_url":"https://api.github.com/users/bilalashraf1/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T08:37:21Z","updated_at":"2015-05-13T08:37:21Z","body":"I have deployed the blog on top of my mvc4 website and I am facing similar issues.\r\n\r\n\r\nI am getting 404 on Admin functions. I cant login , create new post or update exiting post. The public pages works fine.\r\n\r\n\r\n\r\n\r\nWesbite: www.mysite.com - main mv4 website\r\nBlog: www.mysite.com/blog - virtual app under my website which points to blog folder under root of my website. Blog folder contains the source and with the below web.config changes \r\n\r\n  <add key=\"blog:path\" value=\"blog\"/>\r\n\r\n<handlers>\r\n    <remove name=\"CommentHandler\"/>\r\n    <add name=\"CommentHandler\" verb=\"*\" type=\"CommentHandler\" path=\"/blog/comment.ashx\"/>\r\n    <remove name=\"PostHandler\"/>\r\n    <add name=\"PostHandler\" verb=\"POST\" type=\"PostHandler\" path=\"/blog/post.ashx\"/>\r\n    <remove name=\"MetaWebLogHandler\"/>\r\n    <add name=\"MetaWebLogHandler\" verb=\"POST,GET\" type=\"MetaWeblogHandler\" path=\"/blog/metaweblog\"/>\r\n    <remove name=\"FeedHandler\"/>\r\n    <add name=\"FeedHandler\" verb=\"GET\" type=\"FeedHandler\" path=\"/blog/feed/*\"/>\r\n    <remove name=\"CssHandler\"/>\r\n    <add name=\"CssHandler\" verb=\"GET\" type=\"MinifyHandler\" path=\"/blog*.css\"/>\r\n    <remove name=\"JsHandler\"/>\r\n    <add name=\"JsHandler\" verb=\"GET\" type=\"MinifyHandler\" path=\"/blog*.js\"/>\r\n</handlers>\r\n\r\n<httpErrors>\r\n    <remove statusCode=\"404\"/>\r\n    <error statusCode=\"404\" responseMode=\"ExecuteURL\" path=\"/blog/404.cshtml\"/>\r\n</httpErrors>\r\n\r\n\r\n\r\n"}}