[ckan-dev] CKAN 2.0 under sub-url

Nigel Babu nigel.babu at okfn.org
Sun May 26 23:44:55 UTC 2013


Hi Luis,

We've actually discovered a potential solution for this problem.  Can you
try setting ckan.api_url = /ckan in your production.ini 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 26 May 2013 02:26, User66 <user66 at arcor.de> wrote:

> Hi Luis,
>
> this is a known issue IMHO without solution.
>
> See archive:
> http://lists.okfn.org/pipermail/ckan-dev/2013-April/004417.html
> http://lists.okfn.org/pipermail/ckan-dev/2013-May/004861.html
>
> Cheers
> Ralf
>
> ----------------ursprüngliche Nachricht-----------------
> Von: "Luis" eltipicoemail at gmail.com
> An: ckan-dev at lists.okfn.org
> Datum: Sat, 25 May 2013 19:27:38 +0100
> -------------------------------------------------
>
> > Hi all,
> >
> > I have successfully installed CKAN 2.0 under a sub-url (
> > http://mydomain.com/ckan) but I have realized there are some features
> which
> > don't seem to work well.
> > If I try to 'add a new dataset' the URL field is not autofilled when I
> type
> > the title in the 'Create data' step. Furthermore, the 'Upload a file'
> link
> > doesn't display in the 'Add data' step.
> > In my /etc/apache2/sites-available/ckan_default I have:
> >
> > WSGIScriptAlias /ckan /etc/ckan/default/apache.wsgi
> >
> > If I edit this to:
> >
> > WSGIScriptAlias / /etc/ckan/default/apache.wsgi
> >
> > Everything works as expected (autofilling URL, FileStorage...), so I
> guess
> > the problem is my CKAN lives in a sub-url. Is there any solution for this
> > or is this the expected behaviour?
> >
> > Thank you!
>
>
>
> _______________________________________________
> 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/20130527/ce4a2f94/attachment-0001.html>


More information about the ckan-dev mailing list