g3w-admin
g3w-admin copied to clipboard
Setting a base url with: `SITE_PREFIX_URL`
Checklist
- [x] I've searched through the current issues to make sure this feature hasn't been requested already.
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