Hi,

Thanks, the mention of 'proxy' in the supplied mapfish v2 protocol page is 

"/The “url” query parameter is here to help the print servlet to know what
URL is used by the browser to access the servlet. This parameter is here
because the servlet can be behind a proxy, hiding the real URL./"

The json produced by GET
{PRINT_URL}/info.json?url={PRINT_URL}%2Finfo.json&var=printConfig is
identical to the one produced by GET {PRINT_URL}/info.json (except the
printConfig var in the second).  printURL and createUrl are the external
adress, yet posting to create.json gets back getURL: localhost:8080. 

It's a public page, if you want you can check it:
https://karta.eskilstuna.se/geoserver/pdf/info.json

Using print.pdf instead of create.json returns the pdf without hiccups but
that would mean a rewrite of parts of the map client.

I note that Mapfish v3 has a "proxy" config item in the yaml: 
http://mapfish.github.io/mapfish-print-doc/configuration.html#!proxy

I'm not sure what it is supposed to do however. 

Regards,
David.


 
P O'Toole wrote
> David -
> 
>>Posting to this createUrl yields the getUrl: response
>>"localhost:8080/geoserver/.... .pdf.printout" which makes the generated
pdf
>>inaccessible.
> 
>>Has anyone any friendly advice? : ) Would much appreciate it!
> 
> Have you tried what the docs advise in
> http://docs.geoserver.org/stable/en/user/extensions/printing/protocol.html
> ? There's a couple of hits there if you ctrlF for "proxy" on that page.
> 
> If those don't work, you may have found a bug.
> 
> - Patrick
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html

> Geoserver-users@.sourceforge

> https://lists.sourceforge.net/lists/listinfo/geoserver-users





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Re-Geoserver-behind-IIS-proxy-tiled-layer-preview-and-print-tp5327502p5327592.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to