[mapserver-users] Getcapabilities mime-type

Kralidis,Tom [Ontario] Tom.Kralidis at ec.gc.ca
Thu May 21 04:40:45 PDT 2009


 

> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org 
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of 
> Carmen Delia Hernández Pérez
> Sent: Thursday, 21 May 2009 06:52
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] Getcapabilities mime-type
> 
> Hello!
> 
>  
> 
>    I have installed Mapserver v. 5.2.1 and it´s working. I 
> want my web browser understands directly the file returned by 
> a request Getcapabilities, that is a xml file really, and 
> don´t query me if I want to downloading file . I've read 
> about mime-types configuration in the httpd.conf file of 
> Apache server, but I don`t know what I must write exactly.
> 

See http://www.mapserver.org/faq.html#when-i-do-a-getcapabilities-why-does-my-browser-want-to-download-mapserv-exe-mapserv 

You _could_ write a MapScript WxS wrapper to change the MIME type when GetCapabilities is called, but note that you would be breaking OGC WMS support.

..Tom



More information about the MapServer-users mailing list