[ckan-dev] Problem with CKAN in a non-root folder
Jorge Pantoja
jorgepantojam at gmail.com
Thu May 16 16:12:11 UTC 2013
Hello everyone,
I’m new to ckan and I have installed the 2.0 version. It works well in a
root folder, but I have two problems when I change the configuration in
apache to use ckan in a non-root folder. I’ve changed the wsgiscriptalias
in the apache config file: "WSGIScriptAlias /data
/etc/ckan/default/apache.wsgi", using data as the new sub-folder.
The problem is that the button to upload a file does not appear and the
data preview is not working. The port 80 is redirected to /var/www and when
I check the logs, I can see these errors: "File does not exist:
/var/www/api" and "File does not exist: /var/www/images/icons".
I’ve tested the api through /api/3/action/package_list and I’ve got the
following answer: {"help": "Return a list of the names of the site's
datasets (packages).\n\n :rtype: list of strings\n\n ", "success": true,
"result": ["testdataupf2"]}
Can you help me to solve the problem?
Thanks for the help,
Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130516/cbe801e1/attachment.html>
More information about the ckan-dev
mailing list