Perhaps this is a distribution issue. For those who have gotten the "Display at UCSC" link to work on a local server or workstation, what linux distribution and version did you use? Has anyone used this successfully with Red Hat Enterprise Linux 6.1?

Best,

-Kip

On Fri, Oct 7, 2011 at 6:28 PM, Bodi, Kip <Kip.Bodi@tufts.edu> wrote:
Hi all,

I have a local galaxy instance, proxied by Apache, and am trying to get the 'display at UCSC' link to work. I've followed all of the instructions and am nearly there, but now I'm getting this response from UCSC when it tries to load the track:

"Byte-range request was ignored by server. Expected Partial Content 206." etc.

I think the error is because the PasteWSGIServer isn't allowing byte-range requests. When I look at the header, "Accept-Ranges: bytes" is not present:
[galaxy@galaxy galaxy_dist]$ curl --head localhost
HTTP/1.1 200 OK
Date: Fri, 07 Oct 2011 22:23:49 GMT
Server: PasteWSGIServer/0.5 Python/2.6.6
content-type: text/html; charset=UTF-8
Set-Cookie: galaxysession=c6ca0ddb55be603a4e98b4f13a4db8bfb8635f0aa576697114d40b13a8355efe2cf7a075ef81d769; expires=Thu, 05-Jan-2012 17:23:49 GMT; Max-Age=7776000; Path=/; Version=1
Vary: Accept-Encoding
Connection: close

Whereas on another server, "Accept-Ranges: bytes" appears in the header:
[galaxy@galaxy galaxy_dist]$ curl --head apollo.med.tufts.edu<http://apollo.med.tufts.edu>
HTTP/1.1 403 Forbidden
Date: Fri, 07 Oct 2011 22:22:42 GMT
Server: Apache/2.2.21 (Fedora)
Accept-Ranges: bytes
Content-Length: 4609
Connection: close
Content-Type: text/html; charset=UTF-8

I'm running RHEL6 with the latest version of galaxy-dist. I've tried manually enabling 'accept-ranges' but haven't had any luck. Any suggestions? Can I enable it somehow in universe_wsgi.ini?

Best,

-Kip



--
Kip Lord Bodi Jr.
Tufts University School of Medicine
136 Harrison Avenue, South Cove 502
Boston, MA 02118
617-636-3763
kip.bodi@tufts.edu
www.tucf.org | genomics.med.tufts.edu