Menu

#323 setting url_base to "/" in GBrowse.conf breaks help links

open
Gbrowse (196)
5
2010-07-23
2010-07-21
Anonymous
No

Hi,
using gbrowse 2.13

We have a non-standard installation that might be the source of this bug, where our main website is run by a main apache2 that forwards all gbrowse requests to a different port. So, we have GBrowse.conf url_base set to "/" (no quotes) so that CSS, javascript, and images are served from the main apache HTDOCS.

This causes incorrect link generation in annotation_help and general_help subroutines of Bio::Graphics::Browser2::Render. For example, the "Help -> Help with this Browser" is rendered as "//general_help.html". This is mal-formed and not reachable.

Use of the url_base parameter in Bio::Graphics::Browser2 and Bio::Graphics::Browser2::DataSource appear to be unaffected.

Attached is a simple patch file for Render.pm with the workaround we are using, that returns "/general_help.html" and "/annotation_help.html" if url_base is "/" or default 2.13 behavior otherwise.

Discussion

  • Scott Cain

    Scott Cain - 2010-07-23
    • assigned_to: scottcain --> lstein
     

Log in to post a comment.

MongoDB Logo MongoDB