This repository has been archived on 2019-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
copr-dani-qgis/qgis-mapserver-httpd.conf
Volker Fröhlich 100f02a117 REFINE QGIS MAPSERVER CONFIGURATION; HISTO PATCH
- Drop the crude Lighty configuration
- Use Rewrite in Apache configuration and improve README
- Add histogram patch, marked to be backported
2011-07-06 00:26:15 +02:00

17 lines
376 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
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>