[mapserver-users] WFS Client...

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Thu Feb 18 13:16:49 PST 2016


I don’t know if mapserver is issuing POSTs or GETs under the hood, haven’t checked the code, but capturing both in the mapserver logs would be helpful.

From: Rahkonen Jukka (MML) [mailto:jukka.rahkonen at maanmittauslaitos.fi]
Sent: Thursday, February 18, 2016 3:15 PM
To: Carlos Ruiz <boolean10001 at yahoo.com>; Lime, Steve D (MNIT) <Steve.Lime at state.mn.us>; mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] WFS Client...

Hi,

Didn’t he ask about the contents of POST, not GET? That would need some extra components, some hints can be found from http://stackoverflow.com/questions/989967/best-way-to-log-post-data-in-apache.

Actually it would be very useful to have an option to write the POST requests into Mapserver log file.

-Jukka Rahkonen-

Carlos Ruiz wrote:

Steve,

You can check the Apache "access.log" file and watch for the HTTP GET requests. You will find something like this:

127.0.0.1 - - [16/Dec/2015:16:59:31 -0600] "GET /cgi-bin/landsat8?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=2014&WIDTH=256&HEIGHT=256&CRS=EPSG%3A4326&STYLES=&BBOX=22.5%2C-101.25%2C33.75%2C-90 HTTP/1.1" 200 412


________________________________
From: "Lime, Steve D (MNIT)" <Steve.Lime at state.mn.us<mailto:Steve.Lime at state.mn.us>>
To: "mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>" <mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>>
Sent: Thursday, February 18, 2016 3:01 PM
Subject: [mapserver-users] WFS Client...

Hi all: Is there any way to log the request URL and POST data associated with MapServer WFS layers? That info doesn’t seem to be showing up in debug logs and it would be helpful to see exactly what is being sent to the WFS server.

Steve

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160218/64c978fa/attachment-0001.html>


More information about the mapserver-users mailing list