{"action":"created","issue":{"url":"https://api.github.com/repos/phusion/passenger/issues/1446","labels_url":"https://api.github.com/repos/phusion/passenger/issues/1446/labels{/name}","comments_url":"https://api.github.com/repos/phusion/passenger/issues/1446/comments","events_url":"https://api.github.com/repos/phusion/passenger/issues/1446/events","html_url":"https://github.com/phusion/passenger/issues/1446","id":63317196,"number":1446,"title":"phusion passenger 5.0.4 only passing some environment variables","user":{"login":"decasia","id":2341553,"avatar_url":"https://avatars.githubusercontent.com/u/2341553?v=3","gravatar_id":"","url":"https://api.github.com/users/decasia","html_url":"https://github.com/decasia","followers_url":"https://api.github.com/users/decasia/followers","following_url":"https://api.github.com/users/decasia/following{/other_user}","gists_url":"https://api.github.com/users/decasia/gists{/gist_id}","starred_url":"https://api.github.com/users/decasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decasia/subscriptions","organizations_url":"https://api.github.com/users/decasia/orgs","repos_url":"https://api.github.com/users/decasia/repos","events_url":"https://api.github.com/users/decasia/events{/privacy}","received_events_url":"https://api.github.com/users/decasia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phusion/passenger/labels/Bounty/Medium","name":"Bounty/Medium","color":"d4c5f9"},{"url":"https://api.github.com/repos/phusion/passenger/labels/Priority/High","name":"Priority/High","color":"eb6420"},{"url":"https://api.github.com/repos/phusion/passenger/labels/Server/Apache","name":"Server/Apache","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/phusion/passenger/milestones/25","html_url":"https://github.com/phusion/passenger/milestones/5.0.6","labels_url":"https://api.github.com/repos/phusion/passenger/milestones/25/labels","id":1036038,"number":25,"title":"5.0.6","description":"Bug fixes","creator":{"login":"FooBarWidget","id":819,"avatar_url":"https://avatars.githubusercontent.com/u/819?v=3","gravatar_id":"","url":"https://api.github.com/users/FooBarWidget","html_url":"https://github.com/FooBarWidget","followers_url":"https://api.github.com/users/FooBarWidget/followers","following_url":"https://api.github.com/users/FooBarWidget/following{/other_user}","gists_url":"https://api.github.com/users/FooBarWidget/gists{/gist_id}","starred_url":"https://api.github.com/users/FooBarWidget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FooBarWidget/subscriptions","organizations_url":"https://api.github.com/users/FooBarWidget/orgs","repos_url":"https://api.github.com/users/FooBarWidget/repos","events_url":"https://api.github.com/users/FooBarWidget/events{/privacy}","received_events_url":"https://api.github.com/users/FooBarWidget/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":7,"state":"closed","created_at":"2015-03-24T10:20:55Z","updated_at":"2015-03-31T12:26:27Z","due_on":null,"closed_at":"2015-03-31T09:48:53Z"},"comments":30,"created_at":"2015-03-20T21:59:35Z","updated_at":"2015-04-08T20:02:07Z","closed_at":"2015-03-30T13:12:51Z","body":"I have an Apache 2.2/Rails 4.2/Passenger 5.0.4 app set up to use Shibboleth for authentication. Shibboleth uses various environment variables to pass per-request user information to the Rails application. This worked correctly with 4.0.57, but with 5.0.4, none of the env variables (except REMOTE_USER) are getting passed to Rails.\r\n\r\nSome example env variables that are not getting through: `uid`, `Shib-Authentication-Instant`.\r\n\r\nIt looks to me like Passenger does some special handling of REMOTE_USER, so probably that's why it appears when the others don't.\r\n\r\nIs there any special config I might need in order to make sure that all environment variables are correctly passed into Rails? Or anything else I can provide to help with diagnosing?"},"comment":{"url":"https://api.github.com/repos/phusion/passenger/issues/comments/91019455","html_url":"https://github.com/phusion/passenger/issues/1446#issuecomment-91019455","issue_url":"https://api.github.com/repos/phusion/passenger/issues/1446","id":91019455,"user":{"login":"FooBarWidget","id":819,"avatar_url":"https://avatars.githubusercontent.com/u/819?v=3","gravatar_id":"","url":"https://api.github.com/users/FooBarWidget","html_url":"https://github.com/FooBarWidget","followers_url":"https://api.github.com/users/FooBarWidget/followers","following_url":"https://api.github.com/users/FooBarWidget/following{/other_user}","gists_url":"https://api.github.com/users/FooBarWidget/gists{/gist_id}","starred_url":"https://api.github.com/users/FooBarWidget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FooBarWidget/subscriptions","organizations_url":"https://api.github.com/users/FooBarWidget/orgs","repos_url":"https://api.github.com/users/FooBarWidget/repos","events_url":"https://api.github.com/users/FooBarWidget/events{/privacy}","received_events_url":"https://api.github.com/users/FooBarWidget/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T20:02:07Z","updated_at":"2015-04-08T20:02:07Z","body":"Can you post all your Apache config files for inspection?"}}