-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Setting a base url with: SITE_PREFIX_URL
#771
Comments
I would also be interested in this feature 👍 |
Hi everybody :), @DaveGhedini try to us the settings |
@tudorbarascu @DaveGhedini can we close this? |
Sorry, checking this now. You can close and I can re-open if needed. Thanks again. |
Just to follow up, |
Hi @DaveGhedini, this should be the relevant code: g3w-admin/g3w-admin/base/urls.py Lines 251 to 257 in b7ffb5d
g3w-admin/g3w-admin/base/urls.py Lines 324 to 329 in b7ffb5d
g3w-admin/g3w-admin/OWS/urls.py Lines 17 to 40 in b7ffb5d
if you feel like debugging, otherwise please insert a link to a public demo project that clearly shows the problem. |
Checklist
Motivation
Motivation
I would like to run g3w-suite in a specific url location (e.g. /g3w).
I run g3w behind an Apache proxy and updating below
<Location "/"> Require all granted ProxyPass unix:/opt/g3wsuite/g3w-admin.sock|uwsgi://uwsgi-g3w-admin/ </Location>
to:
<Location "/g3w"> Require all granted ProxyPass unix:/opt/g3wsuite/g3w-admin.sock|uwsgi://uwsgi-g3w-admin/ </Location>
This works for most items, but not for maps, which cannot be loaded.
It would be very good to have BASE_URL or BASE_PROXY_URL setting that can be configured.
Suggested solution
Add BASE_URL or BASE_PROXY_URL setting.
Alternatives considered
No response
The text was updated successfully, but these errors were encountered: