g3w-suite / g3w-suite-documentation

Edit and translate G3W-SUITE end-user documentation
https://g3w-suite.readthedocs.io/
1 stars 8 forks source link

Base Url Setting #33

Closed DaveGhedini closed 7 months ago

DaveGhedini commented 7 months ago

Checklist

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>

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

DaveGhedini commented 7 months ago

Wrong location