galaxy-genome-annotation / docker-tripal

Docker container for Tripal
10 stars 11 forks source link

tripal file uploader blocked by URL redirect #41

Open bradfordcondon opened 4 years ago

bradfordcondon commented 4 years ago

I'm not able to use the tripal file loader on my local machine running this repo, or my cloud in production using a fork of this stack.

Screen Shot 2019-08-24 at 5 27 58 PM

heres the issue i made in core:

https://github.com/tripal/tripal/pull/978

after some messing around with @spficklin its definitely something to do with the Apache redirect, but i cant figure out how to resolve it...

basically the PUT in the uploader gets redirected from PUT /tripal/tripal/upload/0-tripal_importer/amel_cds.fasta/save/0 to PUT /upload/0-tripal_importer/amel_cds.fasta/save/0

it seems like the tripal_apache.conf file should hold the answer but i just dont get it. could you provide any insight into how to resolve this?

abretaud commented 4 years ago

This redirection stuff is a bit of a mess, there is some conf in https://github.com/galaxy-genome-annotation/docker-tripal/blob/master/tripal_apache.conf but also some magic in https://github.com/galaxy-genome-annotation/docker-tripal/blob/master/etc/tripal/settings.php#L47

Playing with the env vars should help in many cases, but there might be some corner cases that fail. I think most of the complications come from apache serving tripal at /tripal/ instead of simply serving it at/. It would be good to change it in the image, but it requires a lot of testing, and I won't be available for most of september so...