configure WMS alias

Smith, Michael Michael.Smith at MAINE.GOV
Fri Jan 18 07:09:28 PST 2008


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.

***********
Michael Smith
Maine DEP/OIT 



More information about the MapServer-users mailing list