mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
29 lines
555 B
Plaintext
29 lines
555 B
Plaintext
|
# This configuration is intended as an example.
|
||
|
# It is not meant for productive use.
|
||
|
|
||
|
RewriteEngine on
|
||
|
RewriteRule ^/wms/(.+)$ /qgis/qgis_mapserv.fcgi?map=/var/www/wms/$1.qgs [QSA,PT]
|
||
|
|
||
|
ScriptAlias /qgis/ "/usr/libexec/qgis/"
|
||
|
|
||
|
|
||
|
<Directory "/usr/libexec/qgis/">
|
||
|
|
||
|
Options ExecCGI
|
||
|
Options FollowSymLinks
|
||
|
|
||
|
<IfModule mod_authz_core.c>
|
||
|
# Apache 2.4
|
||
|
Require local
|
||
|
</IfModule>
|
||
|
|
||
|
<IfModule !mod_authz_core.c>
|
||
|
# Apache 2.2
|
||
|
Order deny,allow
|
||
|
Deny from all
|
||
|
Allow from 127.0.0.1
|
||
|
Allow from ::1
|
||
|
</IfModule>
|
||
|
|
||
|
</Directory>
|