like in this example below, I would like to always use a predefined DB Service
RewriteEngine On
# Endpoint for QGIS projects stored in PostgreSQL DB
RewriteRule ^${URL_PREFIX}/pg/(.+)/(.+)$ /cgi-bin/qgis_mapserv.fcgi?map=postgresql\%3A\%2F\%2F\%2F\%3Fservice\%3D${DB_PROJECT_SERVICE}\%26schema=$1\%26project=$2 [QSA,PT]
# Endpoint for file based QGIS projects
RewriteRule ^${URL_PREFIX}/(.*)$ /cgi-bin/qgis_mapserv.fcgi?map=/data/$1.${QGIS_PROJECT_SUFFIX} [QSA,PT]
# Forbid direct access
RewriteRule ^/cgi-bin/.*$ - [F]
Is there a way to add custom rewrite rules?
like in this example below, I would like to always use a predefined DB Service
https://github.com/qwc-services/qwc-qgis-server/blob/c07c5bae23b28e8e17c43e4a62000181717f9bec/qgis3-server.conf.template#L14-L20