{"action":"created","issue":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/2175","labels_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2175/labels{/name}","comments_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2175/comments","events_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2175/events","html_url":"https://github.com/NancyFx/Nancy/issues/2175","id":123920983,"number":2175,"title":"nancy route cannot exactly matches the route patten ","user":{"login":"MingYueGuWo","id":16235857,"avatar_url":"https://avatars.githubusercontent.com/u/16235857?v=3","gravatar_id":"","url":"https://api.github.com/users/MingYueGuWo","html_url":"https://github.com/MingYueGuWo","followers_url":"https://api.github.com/users/MingYueGuWo/followers","following_url":"https://api.github.com/users/MingYueGuWo/following{/other_user}","gists_url":"https://api.github.com/users/MingYueGuWo/gists{/gist_id}","starred_url":"https://api.github.com/users/MingYueGuWo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MingYueGuWo/subscriptions","organizations_url":"https://api.github.com/users/MingYueGuWo/orgs","repos_url":"https://api.github.com/users/MingYueGuWo/repos","events_url":"https://api.github.com/users/MingYueGuWo/events{/privacy}","received_events_url":"https://api.github.com/users/MingYueGuWo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-26T09:52:34Z","updated_at":"2015-12-28T06:37:03Z","closed_at":null,"body":"hello everyone,\r\nI met an weird issue. i integrated nancy with my exist asp.net webform application. and i want nancy work in some specified path. i defined the config in web.config file like the following\r\n<add name=\"Nancy2\" verb=\"*\" type=\"Nancy.Hosting.Aspnet.NancyHttpRequestHandler\" path=\"Device/*\" />\r\nI wish every routes under ~/Device/* can be handled by nancy. It works fine, but one issue, in other folder there is a folder under the root path like like ~/root/somesubfolder/Device/. all aspx files under the folder will be handled by nancy too. it's not i want. i just want the route handled like ~/Device/* not like ~/path/path/Device/*\r\n\r\nmy module class like:\r\npublic Module(): base(\"/Device\")\r\n\r\nanyone can helps me out? thanks very much!\r\n"},"comment":{"url":"https://api.github.com/repos/NancyFx/Nancy/issues/comments/167494606","html_url":"https://github.com/NancyFx/Nancy/issues/2175#issuecomment-167494606","issue_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2175","id":167494606,"user":{"login":"MingYueGuWo","id":16235857,"avatar_url":"https://avatars.githubusercontent.com/u/16235857?v=3","gravatar_id":"","url":"https://api.github.com/users/MingYueGuWo","html_url":"https://github.com/MingYueGuWo","followers_url":"https://api.github.com/users/MingYueGuWo/followers","following_url":"https://api.github.com/users/MingYueGuWo/following{/other_user}","gists_url":"https://api.github.com/users/MingYueGuWo/gists{/gist_id}","starred_url":"https://api.github.com/users/MingYueGuWo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MingYueGuWo/subscriptions","organizations_url":"https://api.github.com/users/MingYueGuWo/orgs","repos_url":"https://api.github.com/users/MingYueGuWo/repos","events_url":"https://api.github.com/users/MingYueGuWo/events{/privacy}","received_events_url":"https://api.github.com/users/MingYueGuWo/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T06:37:03Z","updated_at":"2015-12-28T06:37:03Z","body":"Hi Khellang,\r\nI resolve this issue by following configuration,\r\nadd a location node and put the nancy config in the location node.\r\nbut from my knowledge it has the same meaning. maybe i am wrong. the config has different meanings for different iis version. \r\n\r\nThanks, again!"}}