{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1809","repository_url":"https://api.github.com/repos/slimphp/Slim","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1809/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1809/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1809/events","html_url":"https://github.com/slimphp/Slim/issues/1809","id":139869531,"number":1809,"title":"Slim 2: Avoid removal of physical path in PATH_INFO","user":{"login":"carminexx","id":4161404,"avatar_url":"https://avatars.githubusercontent.com/u/4161404?v=3","gravatar_id":"","url":"https://api.github.com/users/carminexx","html_url":"https://github.com/carminexx","followers_url":"https://api.github.com/users/carminexx/followers","following_url":"https://api.github.com/users/carminexx/following{/other_user}","gists_url":"https://api.github.com/users/carminexx/gists{/gist_id}","starred_url":"https://api.github.com/users/carminexx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carminexx/subscriptions","organizations_url":"https://api.github.com/users/carminexx/orgs","repos_url":"https://api.github.com/users/carminexx/repos","events_url":"https://api.github.com/users/carminexx/events{/privacy}","received_events_url":"https://api.github.com/users/carminexx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-10T12:11:38Z","updated_at":"2016-03-10T12:14:30Z","closed_at":null,"body":"Hi,\r\nI have a Slim application where each URL within the controllers is prefixed with the base_url path (that is a string constant defined in my app config file). This allows me to use different base paths (ex: if running behind a reverse proxy, in a different folder, etc.). \r\nBut, I noticed that in Environment.php, line 143, the \"physical\" path is removed from PATH_INFO that will be consumed by the router. \r\nBy doing so, it's impossible to run correctly Slim in a subfolder, because all requests have the base path removed.\r\n\r\nIs this a bug?\r\nIs it possible to tell Slim not to remove the physical path? I can edit the Environment.php by myself, but, obviously, I can't use composer if I modify Slim libs files."},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/194816079","html_url":"https://github.com/slimphp/Slim/issues/1809#issuecomment-194816079","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1809","id":194816079,"user":{"login":"akrabat","id":33135,"avatar_url":"https://avatars.githubusercontent.com/u/33135?v=3","gravatar_id":"","url":"https://api.github.com/users/akrabat","html_url":"https://github.com/akrabat","followers_url":"https://api.github.com/users/akrabat/followers","following_url":"https://api.github.com/users/akrabat/following{/other_user}","gists_url":"https://api.github.com/users/akrabat/gists{/gist_id}","starred_url":"https://api.github.com/users/akrabat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrabat/subscriptions","organizations_url":"https://api.github.com/users/akrabat/orgs","repos_url":"https://api.github.com/users/akrabat/repos","events_url":"https://api.github.com/users/akrabat/events{/privacy}","received_events_url":"https://api.github.com/users/akrabat/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T12:14:30Z","updated_at":"2016-03-10T12:14:30Z","body":"Oh. For Slim 2, we're only fixing security issues as Slim 3 is now released."}}