We have put together an OnDemand app for LaBB-CAT, a browser-based linguistics research tool. LABB-CAT sets up links at the top of the screen; we had to set
LABBCAT_BASE_URL="/rnode/$(hostname)/$port"
to add the right prefix to make those links point to the right location. With this in place, everything mostly works except that there are a few forms where the software generates redirects. These wind up failing, essentially because they get double-prefixed; i.e., instead of being prefixed with /rnode/$(hostname)/$port
they get prefixed with /rnode/$(hostname)/$port/rnode/$(hostname)/$port
. The developer and I did some debugging and it looks like LaBB-CAT is requesting the right URL; it’s just that this request gets prefixed by OOD before it goes to the browser.
I read in the documentation about the difference between rnode
and node
so I tried changing rnode to node, i.e.,
LABBCAT_BASE_URL="/node/dt045/24856"
but that breaks basically everything else - the stylesheets don’t load, the pages throw various errors - so that I don’t get a chance to try out the functionality that was broken when rnode
was used.
Any thoughts about how we can get both functionalities (the vanilla links at the top of the page as well as redirects) to work?
Our app: ARC-ondemand-apps/bc_vt_labbcat_singularity_docker_tinkercliffs at master · AdvancedResearchComputing/ARC-ondemand-apps · GitHub
LaBB-CAT main page: http://labbcat.sourceforge.net/
LaBB-CAT DockerHub: Docker Hub