[Geoserver-devel] Print Module does not honour Proxy Base URL setting

The output of /pdf/info.json contains 2 URLs printURL and createURL
that will always begin with http://localhost:8080 regardless of the
value of GeoServer's Proxy Base URL setting.

Is it reasonable for the Print Module to use the Proxy Base URL
setting and if so how would I go about making this change?

Cheers
Adam

The printing module is a very simple wrapper around the Mapfish Printing servlet to make it fit into the GeoServer system. Of course it is reasonable to expect it to respect the proxy base url, but you may end up needing to modify the mapfish servlet to do so. I would recommend asking on the mapfish developers list - http://lists.mapfish.org/cgi-bin/mailman/listinfo

The upstream documentation for mapfish printing configuration is at http://www.mapfish.org/doc/print/configuration.html, it may be possible for you to add an entry to the configuration file (in /printing/config.yaml) as a temporary workaround for this issue.

Hope this helps.


David Winslow
OpenGeo - http://opengeo.org/

On Tue, Dec 14, 2010 at 10:27 PM, Adam Ratcliffe <adam@anonymised.com> wrote:

The output of /pdf/info.json contains 2 URLs printURL and createURL
that will always begin with http://localhost:8080 regardless of the
value of GeoServer’s Proxy Base URL setting.

Is it reasonable for the Print Module to use the Proxy Base URL
setting and if so how would I go about making this change?

Cheers
Adam


Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Thanks David, I’ll look into this.

Cheers
Adam

On 16/12/2010, at 5:13 AM, David Winslow wrote:

The printing module is a very simple wrapper around the Mapfish Printing servlet to make it fit into the GeoServer system. Of course it is reasonable to expect it to respect the proxy base url, but you may end up needing to modify the mapfish servlet to do so. I would recommend asking on the mapfish developers list - http://lists.mapfish.org/cgi-bin/mailman/listinfo

The upstream documentation for mapfish printing configuration is at http://www.mapfish.org/doc/print/configuration.html, it may be possible for you to add an entry to the configuration file (in /printing/config.yaml) as a temporary workaround for this issue.

Hope this helps.


David Winslow
OpenGeo - http://opengeo.org/

On Tue, Dec 14, 2010 at 10:27 PM, Adam Ratcliffe <adam@anonymised.com> wrote:

The output of /pdf/info.json contains 2 URLs printURL and createURL
that will always begin with http://localhost:8080 regardless of the
value of GeoServer’s Proxy Base URL setting.

Is it reasonable for the Print Module to use the Proxy Base URL
setting and if so how would I go about making this change?

Cheers
Adam


Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel