configure WMS alias

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Fri Jan 18 07:30:34 PST 2008


 

> -----Original Message-----
> From: UMN MapServer Users List 
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Smith, Michael
> Sent: 18 January, 2008 10:09 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] configure WMS alias
> 
> Using MS4W.
> 
> How do I configure an alias in httpd.d folder for WMS 
> connection?  For example, I have a WMS I access with this URL
> 
> http://dep-eia1pcgis1/cgi-bin/mapserv.exe?map=c:/ms4w/apps/wms
> /naip2007.
> map&
> 
> I would like to shorten it to:
> 
> http://dep-eia1pcgis1/naip2007
> 
> I created a file
> 
> httpd_wms.conf in httpd.d folder with this entry:
> 
> Alias /naip2007
> "/cgi-bin/mapserv.exe?map=c:/ms4w/apps/wms/naip2007.map?"
> 
> Restarted MS4W, ArcGIS still can't find it.
> 
> I have tried other entries to no avail.

See
http://mapserver.gis.umn.edu/docs/howto/wms_server/#more-about-the-onlin
e-resource-url on how to do this in Windows and UNIX environments.

..Tom



More information about the MapServer-users mailing list