[mapserver-users] URL redirection under IIS
Robert Sanson
Robert.Sanson at asurequality.com
Sun May 3 14:37:47 PDT 2015
Hi James
The following works for Apache:
1. Copy your mapserv executable (mapserve.exe under Windows in the cgi-bin folder or make a symbolic link under Unix) and give it a different name (eg the name of your map file without the .map extension).
2. Edit your httpd.conf file and include something like the following:
SetEnvIf Request_URI "/cgi-bin/mymap?" MS_MAPFILE=/mnt/gisdata/apps/service/mymap.map
3. Restart Apache
Then you should be able to use the shorter form.
Regards,
Robert
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
Sent: Saturday, 2 May 2015 7:06 a.m.
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] URL redirection under IIS
Hi,
It's been a long time since I set up a mapserver, and I can't find my documentation on how to have the server answer up to a shortened URL. I would like it to respond to:
http://servername/radeswms.exe&
Instead of:
http://servername/mapserver/mapserv.exe?map=c:\mapdata\servmap.map&
Can someone remind me how to configure that using URL redirection? I'm on Server 2008 and IIS 7.
Thanks,
James
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list