[postgis-users] content-type and using RESIN (really a mapserver question)

Thomas, Cord cthomas at rand.org
Thu Oct 17 08:58:38 PDT 2002


Hello

In the absense of a mapserver list right now, would like to ask this group a
question:

I am using RESIN as my HTTP server and having some problems with picky
browsers.  Picky browsers are showing my map as just the .map source file -
i know it is working as IE renders the page as expected.

I am on a debian linux installation, successfully using mapserv to access
postgis data.  I am using RESIN's CGIServlet to handle requests to the
mapserv binary.

A - i noticed in the mapserv HEADER, the content type is presented as
Content-type not Content-Type as it appears to be in the specs.  I modified
the source in mapserv.c to be Content-Type, but this did not help.

B - i noticed then when RESIN returns the content header, it passes a 000 as
the response code, as opposed to 200 OK or some such value.  This presumably
not mapserv's fault, but i wonder if anyone out there has worked with RESIN.

C - is the mapserv a 'real' cgi executable?  I don't really know what i am
asking here, but basically, if i am using this CGIServlet java servlet, can
i reasonably expect it to be getting the right information.




More information about the postgis-users mailing list