[ckan-dev] ckan + vagrant port forwarding problem

Adrià Mercader adria.mercader at okfn.org
Tue Oct 1 09:41:03 UTC 2013


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
>




More information about the ckan-dev mailing list