[ckan-dev] CKAN root path repeated in URL
vikesh rambaran
vikesh.rambaran at gmail.com
Wed Sep 5 10:11:57 UTC 2018
Hi
We have a CKAN site that should be accessed via http://192.168.183.128/data
However, when viewing some of the CKAN pages in a browser, the url root is
repeated.
Therefore the site cannot be reached.
The expected URL should be http://192.168.183.128/data/<ckan_page>
but the browser tries to access http://192.168.183.128/data/data/<ckan_page>
Examples are the login, logout and admin pages
http://192.168.183.128/data/data/user/login
http://192.168.183.128/data/data/user/logged_out_redirect
http://192.168.183.128/data/data/user/ckan_admin
Once logged in, the URLs are correct for dataset, organization, group etc
pages.
The CKAN 2.8 configuration is:
production.ini:
ckan.site_url http://192.168.183.128
ckan.root_path = /data/{{LANG}}
ckan_default.conf:
WSGIScriptAlias /data /etc/ckan/default/apache.wsgi
datapusher.conf:
WSGIScriptAlias /data /etc/ckan/datapusher.wsgi
How should CKAN be configured to resolve this issue ?
Any help would be appreciated.
Thanx
Vicki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180905/3f46c298/attachment-0001.html>
More information about the ckan-dev
mailing list