{"action":"opened","issue":{"url":"https://api.github.com/repos/blueriver/MuraCMS/issues/2368","repository_url":"https://api.github.com/repos/blueriver/MuraCMS","labels_url":"https://api.github.com/repos/blueriver/MuraCMS/issues/2368/labels{/name}","comments_url":"https://api.github.com/repos/blueriver/MuraCMS/issues/2368/comments","events_url":"https://api.github.com/repos/blueriver/MuraCMS/issues/2368/events","html_url":"https://github.com/blueriver/MuraCMS/issues/2368","id":166650070,"number":2368,"title":"Mura Feature Request - Add New Default Mapping","user":{"login":"dbudde","id":6145877,"avatar_url":"https://avatars.githubusercontent.com/u/6145877?v=3","gravatar_id":"","url":"https://api.github.com/users/dbudde","html_url":"https://github.com/dbudde","followers_url":"https://api.github.com/users/dbudde/followers","following_url":"https://api.github.com/users/dbudde/following{/other_user}","gists_url":"https://api.github.com/users/dbudde/gists{/gist_id}","starred_url":"https://api.github.com/users/dbudde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbudde/subscriptions","organizations_url":"https://api.github.com/users/dbudde/orgs","repos_url":"https://api.github.com/users/dbudde/repos","events_url":"https://api.github.com/users/dbudde/events{/privacy}","received_events_url":"https://api.github.com/users/dbudde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-20T18:30:23Z","updated_at":"2016-07-20T18:30:23Z","closed_at":null,"body":"I was just wondering if another mapping could be added to the Mura base install?  We have run both IIS and Apache servers and most of the time if you use\r\n\r\n`rootPath = expandPath(\"/\");`\r\n\r\nyou will wind up with the system path to the root path of the website.  Sometimes though we have issues with this and it returns paths based on the Cold Fusion instance instead.  The way we have fixed this in the past is to add a mapping for the root path in the Application.cfc and then it always seems to get it to work.  If we could add a mapping similar to\r\n\r\n`this.mappings[\"/\"] = replace(expandPath(\"/index.cfm\"), systemDelimiter & \"index.cfm\", \"\", \"one\");`\r\n\r\nthen I think it would be helpful and I'm pretty sure the mapping would only reinforce the root level mapping and not interfere with Mura's existing mappings or functionality.  I am currently adding this setting manually in my install of Mura 7 and I have not seen any issues in CF 11 and Apache 2.4.\r\n\r\nLet me know your thoughts.\r\n\r\nDaniel"}}
{"actor":{"display_login":"dbudde"}}