{"action":"created","issue":{"url":"https://api.github.com/repos/igvteam/igv.js/issues/164","repository_url":"https://api.github.com/repos/igvteam/igv.js","labels_url":"https://api.github.com/repos/igvteam/igv.js/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/igvteam/igv.js/issues/164/comments","events_url":"https://api.github.com/repos/igvteam/igv.js/issues/164/events","html_url":"https://github.com/igvteam/igv.js/issues/164","id":142782129,"number":164,"title":"how to view bam file in s3 bucket","user":{"login":"hurchu","id":13222564,"avatar_url":"https://avatars.githubusercontent.com/u/13222564?v=3","gravatar_id":"","url":"https://api.github.com/users/hurchu","html_url":"https://github.com/hurchu","followers_url":"https://api.github.com/users/hurchu/followers","following_url":"https://api.github.com/users/hurchu/following{/other_user}","gists_url":"https://api.github.com/users/hurchu/gists{/gist_id}","starred_url":"https://api.github.com/users/hurchu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurchu/subscriptions","organizations_url":"https://api.github.com/users/hurchu/orgs","repos_url":"https://api.github.com/users/hurchu/repos","events_url":"https://api.github.com/users/hurchu/events{/privacy}","received_events_url":"https://api.github.com/users/hurchu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-22T21:11:57Z","updated_at":"2016-03-23T21:46:43Z","closed_at":null,"body":"Hi,\r\nI tried to view bam file which is saved in s3 bucket.\r\nFirst, I made the file public in s3\r\nand set the url as the following:\r\nurl:'https://s3-us-west-2.amazonaws.com/my-bucket/example.bam'\r\n\r\nIt didn't work.\r\n\r\nThen I set the headURL as the following:\r\nheadURL: 'https://s3-us-west-2.amazonaws.com/my-bucket/example.bam?AWSAccessKeyId=something&Expires=something...\"\r\n\r\nIt still didn't work.\r\n\r\nI tried to google any possible solutions, but can't make it.\r\n\r\nThanks,\r\n\r\nBest,"},"comment":{"url":"https://api.github.com/repos/igvteam/igv.js/issues/comments/200555822","html_url":"https://github.com/igvteam/igv.js/issues/164#issuecomment-200555822","issue_url":"https://api.github.com/repos/igvteam/igv.js/issues/164","id":200555822,"user":{"login":"hurchu","id":13222564,"avatar_url":"https://avatars.githubusercontent.com/u/13222564?v=3","gravatar_id":"","url":"https://api.github.com/users/hurchu","html_url":"https://github.com/hurchu","followers_url":"https://api.github.com/users/hurchu/followers","following_url":"https://api.github.com/users/hurchu/following{/other_user}","gists_url":"https://api.github.com/users/hurchu/gists{/gist_id}","starred_url":"https://api.github.com/users/hurchu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurchu/subscriptions","organizations_url":"https://api.github.com/users/hurchu/orgs","repos_url":"https://api.github.com/users/hurchu/repos","events_url":"https://api.github.com/users/hurchu/events{/privacy}","received_events_url":"https://api.github.com/users/hurchu/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T21:46:43Z","updated_at":"2016-03-23T21:46:43Z","body":"Hi Jim,\r\nNo, it didn't solve my problem. Following is my Apache2 config file.\r\n\r\nServerAdmin webmaster@localhost\r\n        DocumentRoot /home/someone/htdocs\r\n        <Directory />\r\n                Options FollowSymLinks\r\n                AllowOverride None\r\n                Require all denied\r\n                Header set Access-Control-Allow-Origin \"*\"\r\n        </Directory>\r\n\r\n        <Directory /home/someone/htdocs/>\r\n                Options Indexes FollowSymLinks MultiViews\r\n                AllowOverride None\r\n                Require all granted\r\n                Header always set Access-Control-Allow-Origin \"*\"\r\n                Header always set Access-Control-Allow-Methods \"POST, GET, DELETE,PUT\"\r\n                Header always set Access-Control-Max-Age \"1000\"\r\n                Header always set Access-Control-Allow-Headers \"x-requested-with, Content-Type, origin, authorization, accept, client-security-token\"\r\n        </Directory>\r\n\r\nAny suggestions? Thanks.\r\n\r\n"}}