David Winslow created GEOS-4945:
-----------------------------------
Summary: Blank Capabilities Responses when ProxyBaseURL is wrong and TILED=true
Key: GEOS-4945
URL: https://jira.codehaus.org/browse/GEOS-4945
Project: GeoServer
Issue Type: Bug
Affects Versions: 2.1.3
Reporter: David Winslow
Assignee: Gabriel Roldán
When the proxy base url setting is wrong, GeoServer responds to WMS GetCapabilities requests with the TILED=true option with an empty HTTP response, with the mimetype set to a normal OGC XML type instead of an error. This can also be demonstrated with a reverse proxy that doesn't adjust the Host: header.
{code}
$ curl 'http://localhost:8000/geoserver/wms?SERVICE=WMS&REQUEST=GetCapabilities&TILED=true&VERSION=1.1.1’ -v
* About to connect() to localhost port 8000 (#0)
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8000 (#0)
GET /geoserver/wms?SERVICE=WMS&REQUEST=GetCapabilities&TILED=true&VERSION=1.1.1 HTTP/1.1
User-Agent: curl/7.21.7 (i386-redhat-linux-gnu) libcurl/7.21.7 NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
Host: localhost:8000
Accept: */*
< HTTP/1.1 200 OK
< Date: Tue, 31 Jan 2012 17:21:19 GMT
< Server: Apache-Coyote/1.1
< Content-Type: application/vnd.ogc.wms_xml
< Via: 1.1 localhost:8000
< Transfer-Encoding: chunked
<
* Connection #0 to host localhost left intact
* Closing connection #0
{code}
I am guessing this has to do with the GeoWebCache integration and assigning to Gabriel accordingly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira