Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tripal file uploader blocked by URL redirect #41

Open
bradfordcondon opened this issue Aug 24, 2019 · 1 comment
Open

tripal file uploader blocked by URL redirect #41

bradfordcondon opened this issue Aug 24, 2019 · 1 comment

Comments

@bradfordcondon
Copy link

bradfordcondon commented Aug 24, 2019

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:

tripal/tripal#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
Copy link
Member

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants