How to setup Useresponse behind a HTTPS proxy
Is there a way to set up Useresponse correctly through a reverse https-to-http proxy?
Eg: http://piwik.org/faq/how-to-install/faq_98/
We seem to be getting _almost_ there, but when we set up the site with https in $config['resources']['frontController']['baseUrl'] - the front page is shown correctly, but we're not able to log in or use any functionality. When we set up the site with http, the functionality works, but the CSS and Javascript are pointing to the wrong URL.
We're using Apache mod_proxy/ProxyPass both on the front https server and on the server behind hosting Useresponse.
Is there a way to tell Useresponse to respect the X-Forwarded-For Headers, like Piwik does it? http://en.wikipedia.org/wiki/X-Forwarded-For
We've made allowing proxy in self-hosted version. You just need to add following parameter in your config if you use 3.1.1 release:
This is the example how should it be added to the config:
We've made allowing proxy in self-hosted version. You just need to add following parameter in your config if you use 3.1.1 release:
This is the example how should it be added to the config:
Solbjørg,
So, what the void of the problem at all?
Please, describe us what UseResponse must confirm or accept and what should it do with passed data?
In other words, what implementation you want to do using X-Forwarded-For?
Solbjørg,
So, what the void of the problem at all?
Please, describe us what UseResponse must confirm or accept and what should it do with passed data?
In other words, what implementation you want to do using X-Forwarded-For?
This is the problem: Our proxy server accepts a request to useresponse at https://ourdomain.com/useresponse. It then makes a proxy request to a server where useresponse is actually installed at http://ourlocaldomain.com:8080/useresponse including X-Forwareded-For with the value https://ourdomain.com/useresponse
However, Useresponse doesn't use this value to serve script and css stylesheets. Useresponse ALWAYS uses $config['resources']['frontController']['baseUrl']. As I explained in my previous post, with Piwik for instance, there is a config setting to tell the system to use X-Forwarded-For INSTEAD of $config['resources']['frontController']['baseUrl']. That would solve the problem in our case as well I think.
I've noticed that Useresponse is using Zend Framework, and this might be a solution
http://www.dasprids.de/blog/2013/10/11/zend-framework-2-routing-and-reverse-proxies
but I haven't tested it. What do you think?
This is the problem: Our proxy server accepts a request to useresponse at https://ourdomain.com/useresponse. It then makes a proxy request to a server where useresponse is actually installed at http://ourlocaldomain.com:8080/useresponse including X-Forwareded-For with the value https://ourdomain.com/useresponse
However, Useresponse doesn't use this value to serve script and css stylesheets. Useresponse ALWAYS uses $config['resources']['frontController']['baseUrl']. As I explained in my previous post, with Piwik for instance, there is a config setting to tell the system to use X-Forwarded-For INSTEAD of $config['resources']['frontController']['baseUrl']. That would solve the problem in our case as well I think.
I've noticed that Useresponse is using Zend Framework, and this might be a solution
http://www.dasprids.de/blog/2013/10/11/zend-framework-2-routing-and-reverse-proxies
but I haven't tested it. What do you think?
Solbjørg,
Now it's clear for me.
Currently UseResponse does not provide this capability. We have put this feature in our roadmap up to the stable 3.* release.
Solbjørg,
Now it's clear for me.
Currently UseResponse does not provide this capability. We have put this feature in our roadmap up to the stable 3.* release.
We've made allowing proxy in self-hosted version. You just need to add following parameter in your config if you use 3.1.1 release:
This is the example how should it be added to the config:
We've made allowing proxy in self-hosted version. You just need to add following parameter in your config if you use 3.1.1 release:
This is the example how should it be added to the config:
Hello.
How should I configure nginx as a proxy for cloud useresponse?
Now I have created location
but getting useresponse.com/404 response
Hello.
How should I configure nginx as a proxy for cloud useresponse?
Now I have created location
but getting useresponse.com/404 response
Replies have been locked on this page!