Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKAN root path repeated in URL #4452

Closed
vikesh2018 opened this issue Sep 11, 2018 · 0 comments · Fixed by #4489
Closed

CKAN root path repeated in URL #4452

vikesh2018 opened this issue Sep 11, 2018 · 0 comments · Fixed by #4489
Assignees

Comments

@vikesh2018
Copy link

CKAN Version if known (or site URL)

2.8.0

Please describe the expected behaviour

We have a CKAN site that should be accessed via http://192.168.183.128/data
The expected CKAN URL should be http://192.168.183.128/data/<ckan_page>

Please describe the actual behaviour

When viewing some of the CKAN pages in a browser, the url root is repeated.
Therefore the site cannot be reached.

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.

What steps can be taken to reproduce the issue?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants