2014-03-18 20:18:12 +01:00
|
|
|
# This configuration is intended as an example.
|
|
|
|
# It is not meant for productive use.
|
|
|
|
|
|
|
|
RewriteEngine on
|
2018-12-14 15:21:04 +01:00
|
|
|
RewriteRule ^/ows/(.*)$ /qgis/qgis_mapserv.fcgi?map=/var/www/ows/$1.qgs [QSA,PT]
|
2014-03-18 20:18:12 +01:00
|
|
|
|
|
|
|
ScriptAlias /qgis/ "/usr/libexec/qgis/"
|
|
|
|
|
|
|
|
<Directory "/usr/libexec/qgis/">
|
|
|
|
|
|
|
|
Options ExecCGI
|
|
|
|
Options FollowSymLinks
|
2019-09-12 10:52:39 +02:00
|
|
|
FcgidInitialEnv QGIS_PREFIX_PATH=/usr
|
|
|
|
# See https://docs.qgis.org//en/docs/user_manual/working_with_ogc/server/config.html
|
|
|
|
# for the full list of supported environment variables, i.e.:
|
|
|
|
# FcgidInitialEnv QGIS_SERVER_PARALLEL_RENDERING=true
|
2014-03-18 20:18:12 +01:00
|
|
|
|
|
|
|
<IfModule mod_authz_core.c>
|
2017-10-01 23:41:47 +02:00
|
|
|
# Apache 2.4
|
|
|
|
Require local
|
|
|
|
</IfModule>
|
2014-03-18 20:18:12 +01:00
|
|
|
</Directory>
|