Skip to content

Instantly share code, notes, and snippets.

@elemoine
Created March 15, 2018 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elemoine/c8cd89919ef99e82514d4ead310df12c to your computer and use it in GitHub Desktop.
Save elemoine/c8cd89919ef99e82514d4ead310df12c to your computer and use it in GitHub Desktop.
MapServer Apache FastCGI configuration snippet
RewriteRule "^/ogc/(.*)$" "-" [E=MS_MAPFILE:/var/www/$1.map]
<Location "/ogc/">
SetHandler fcgid-script
Options +ExecCGI
FcgidWrapper /usr/lib/cgi-bin/mapserv virtual
Require all granted
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment