[ckan-dev] ckan + vagrant port forwarding problem
Mireille Raad
mir.mir at gmail.com
Mon Oct 7 18:29:04 UTC 2013
Hey,
Well, since the above did not work - here is how i got it to work:
instead of using forwarded
ports<http://docs.vagrantup.com/v2/networking/forwarded_ports.html>, I
used private
network <http://docs.vagrantup.com/v2/networking/private_network.html>
I edited the vagrant config file to include this line
config.vm.network "private_network", ip: "192.168.50.4"
now to access ckan in vagrant from my host OS, i don't type
127.0.0.1:4567- but rather 192.168.50.4 and all edit/update settings
work well.
Hope this turns out helpful for someone soon :)
Best!
On Tue, Oct 1, 2013 at 5:41 AM, Adrià Mercader <adria.mercader at okfn.org>wrote:
> Hi Mireille,
>
> Ian's suggestion about ckan.site_url should work in most cases, did
> you restart your server for the change to have effect?.
> If not, CKAN may be doing some redirects wrong. Which specific
> actions/links have wrong redirects or urls?
>
> Thanks,
>
> Adrià
>
> On 25 September 2013 21:34, Mireille Raad <mir.mir at gmail.com> wrote:
> > hey,
> >
> > did not work :( - thank you for suggestion tho.
> >
> >
> > On Tue, Sep 24, 2013 at 8:29 PM, Ian Ward <ian at excess.org> wrote:
> >>
> >> Hi Mireille,
> >>
> >> Try this setting in your .ini file:
> >>
> >> ckan.site_url = http://127.0.0.1:4567
> >>
> >> Ian
> >>
> >> On Tue, Sep 24, 2013 at 5:41 PM, Mireille Raad <mir.mir at gmail.com>
> wrote:
> >> > Hey,
> >> >
> >> > I sat up a ubuntu vagrant box and then installed ckan inside of it.
> >> >
> >> > I did port forwarding - so when in my browser i type 127.0.0.1:4567- I
> >> > get
> >> > to ckan inside the virtual box.
> >> >
> >> > the problem is that now - when i do some actions in ckan like update
> my
> >> > profile - I get redirected to
> >> > http://127.0.0.1/user/mirmir?__no_cache__=True
> >> > for example.
> >> >
> >> > If i manually insert the :4567 after 127.0.0.1 everything works.
> >> >
> >> > Any idea how to fix this?
> >> >
> >> > Best!
> >> > Mireille
> >> >
> >> > _______________________________________________
> >> > 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
> >
> >
> >
> > _______________________________________________
> > 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/20131007/0b410e1c/attachment-0001.html>
More information about the ckan-dev
mailing list