[mapserver-users] Hiding map= from URL with FastCGI
Jochen Topf
jochen at remote.org
Sat Dec 13 00:39:30 PST 2008
On Fri, Dec 12, 2008 at 03:12:16PM -0500, Russell McOrmond wrote:
> I tried to do something similar with mod_fastcgi, but it tells me
>
> "loadMap(): Web application error. CGI variable "map" is not set."
>
> If I specify the map= on the URL, then things work.
I assume you are using Apache. Add something like
SetEnvIf Request_URI "/mapserv" MS_MAPFILE=/path/to/mapfile.map
to the Apache config. Other web servers can probably do similar things.
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the MapServer-users
mailing list