[ckan-dev] Problem with localhost redirection

Patrick West westp at rpi.edu
Wed Aug 14 12:31:25 UTC 2013


Missed your response. Apologies.

We're using paster serve

ckan.site_url = http://udco.tw.rpi.edu/ckan/

This only happens when we submit forms. The HTML looks correct. The form action looks correct. But then it's redirected to localhost:5000

Thanks,

Patrick

On Aug 12, 2013, at 11:40 PM, Nigel Babu <nigel.babu at okfn.org> wrote:

> HI Patrick,
> 
> How are you running CKAN itself? Are you running it with "paster serve"? What is the value of ckan.site_url in your CKAN config file?
> 
> Nigel Babu
> Developer  |  @nigelbabu
> The Open Knowledge Foundation
> Empowering through Open Knowledge
> http://okfn.org/  |  @okfn  |  OKF on Facebook  |  Blog  |  Newsletter
> 
> CKAN | http://ckan.org/ | @CKANproject | the world’s leading open-source data portal platform
> 
> 
> On 8 August 2013 05:03, Patrick West <westp at rpi.edu> wrote:
> We have an installation of CKAN on a virtual server. Everything looks good except when we try to register data, edit something, login, or logout. It's always trying to redirect to http://localhost:5000. And, of course, this isn't accessible outside of the machine.
> 
> For example. We go to the site http://udco.tw.rpi.edu/ckan/ and click Log In. When you hover over the link, all looks good. But when you actually click on the link, it tries to take you to http://localhost:6000/user/login
> 
> We're using Proxy tags in the apache configuration so we don't have to use the open up the port. And, again, we're on a virtual server.
> 
> Is there anywhere in the configuration file where I can set something to get this to work? I've tried setting host to http://udco.tw.rpi.edu and the port to 80, but that's not working because the Proxy points to udco.tw.rpi.edu/ckan/, not just udco.tw.rpi.edu
> 
> Any help would be greatly appreciated.
> 
> Thanks,
> 
> -- Patrick West 
> ---- Tetherless World Constellation 
> ---- Rensselaer Polytechnic Institute 
> ---- westp at rpi.edu 
> 
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130814/da69a98e/attachment-0001.html>


More information about the ckan-dev mailing list