[ckan-dev] Problem with localhost redirection

Nigel Babu nigel.babu at okfn.org
Tue Aug 13 04:40:55 UTC 2013


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 <https://twitter.com/nigelbabu>

The Open Knowledge Foundation <http://okfn.org/>

Empowering through Open Knowledge

http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>

 CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/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 <http://tw.rpi.edu>
> ---- Rensselaer Polytechnic Institute <http://www.rpi.edu>
> ---- westp at rpi.edu
> [image: Facebook] <http://www.facebook.com/groups/48548184040/>[image:
> Weblog] <http://tw.rpi.edu/weblog/>[image: YouTube]<https://www.youtube.com/user/TetherlessWorld>
>
>
> _______________________________________________
> 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/20130813/3885d10f/attachment-0001.html>


More information about the ckan-dev mailing list