Hi Tamas,
I was able to get it working. Thanks! I'm not sure if I had to, but I
installed the IIS 7 rewrite module, which doesn't come with IIS 7 by default,
then was able to apply the following rewrite rule:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Rewrite radeswms to mapserv.exe">
<match url="mapserver/radeswms" />
<action type="Rewrite"
url="mapserver/mapserv.exe?map=content/servemap.map" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
This is saved in the web.config in wwwroot directory.
Thanks,
James
________________________________
From: Tamas Szekeres [[email protected]]
Sent: Friday, March 28, 2014 5:54 AM
To: EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
Cc: [email protected]
Subject: Re: [mapserver-users] How to hide the "?map=servemap.map" from URL
under IIS
James,
You may probably look into something like this:
http://stackoverflow.com/questions/3071936/getting-iis7-to-rewite-but-still-pass-querystring-parameters
Best regards,
Tamas
2014-03-28 7:55 GMT+01:00 EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
<[email protected]<mailto:[email protected]>>:
Hi,
Can anyone point out the right way to alias my mapserver URL under IIS 7? I'm
not seeing it.
Thanks,
James
_______________________________________________
mapserver-users mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users