[ckan-dev] What is the DocumentRoot for ckan?

Nigel Babu nigel.babu at okfn.org
Wed Sep 25 02:04:02 UTC 2013


Hi,

You need to do several things to get that working.

First, set the Apache virtualhost config, make the following change
WSGIScriptAlias /ckan /etc/ckan/default/apache.wsgi

Then, make the following changes in production.ini
ckan.site_url = http://myckansite.com/ckan
ckan.api_url = /ckan

This should get it working. Remember, you can only test this when you
deploy with Apache and not with `paster serve`.

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 24 September 2013 20:05, A Laxmi <a.lakshmi458 at gmail.com> wrote:

> I have deployed my ckan maintaining the same folder structure as mentioned
> in http://docs.ckan.org/en/latest/deployment.html, I can visit the ckan
> url in http://127.0.0.1:5000. However, I am trying to have the url
> something like http://127.0.0.1:5000*/ckan. *How can I achieve that?
>
> _______________________________________________
> 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/20130925/a9ab6c42/attachment-0001.html>


More information about the ckan-dev mailing list