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

Reverse proxy setting not respected in certain places #471

Closed
jneubert opened this issue Feb 22, 2016 · 2 comments
Closed

Reverse proxy setting not respected in certain places #471

jneubert opened this issue Feb 22, 2016 · 2 comments

Comments

@jneubert
Copy link
Contributor

Our Skosmos 1.5 installation works behind a reverse proxy. Therefore, we use

define("BASE_HREF", "http://zbw.eu/beta/skosmos/");

in the config.inc.

However, when I'm e.g. on the page http://zbw.eu/beta/skosmos/stw/en/ and click the link labeled "Auf Deutsch" to switch the interface language, the page is messed up: the requested content is loaded, but CSS files and the like are not, because in the href of the "Auf Deutsch" link the IP address of the server behind the reverse proxy is referenced.

Another possibly related issue: When I search for a value which does not exist (say "xxxx"), the result page shows the message "No vocabularies on the server!" and the links in the header switch to http://zbw.eu for "Vocabularies", http://zbw.eu/about for "About" etc.

@henriyli
Copy link
Collaborator

It's a bit tricky to test this. I think that it should work now after 4063398 though. Could you pull the latest patch from the v1.5-maintenance branch and check if that fixed the issue?

@jneubert
Copy link
Contributor Author

The links in the header bar work fine now. Thank you for fixing this so quickly!

The search issue mentioned above has changed a bit - I've moved it to #472, in order to make it easier to trace in a separate issue.

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

No branches or pull requests

2 participants