You can look to this doc for more info:

http://trac.mapfish.org/trac/mapfish/browser/print/trunk/samples/config.yaml

Steve

Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
[email protected]
clevelandmetroparks.com





-----Original Message-----
From: Stephen V. Mather [mailto:[email protected]] 
Sent: Friday, July 01, 2011 2:01 PM
To: 'Georg Kaspar'; [email protected]
Subject: Re: [Geoserver-users] Hostname in Capabilites-File

Hi Georg,
        I just e-mailed MapFish about what I think is the same problem,
after duplicating your question here.  Ariel was right, you need to add the
address to MapFish's white list in DATA_DIR/printing/config.yaml.  I found
(whether this is right or not) that I needed to add both addresses (both
networks) from the proxy, but that may be something peculiar to my setup --
e.g.:

hosts:
  - !localMatch
    dummy: true

  - !ipMatch
    ip: 172.16.168.22

  - !ipMatch
    ip: 192.168.168.153

You can also specify a domain name and/or a subnet mask.

Steve


Stephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243
[email protected]
clevelandmetroparks.com




-----Original Message-----
From: Georg Kaspar [mailto:[email protected]] 
Sent: Wednesday, June 29, 2011 10:22 AM
To: [email protected]
Subject: Re: [Geoserver-users] Hostname in Capabilites-File

now it works fo webservices (changed the "proxy base url" in global
settings), though not for the printing module. any suggestions?

Am 29.06.2011 16:02, schrieb Georg Kaspar:
> Hi,
> 
> i'm running geoserver on tomcat6. when executing a "getcapabilities"
> request, all urls in the resulting xml-file point to localhost.
> where can i change this? is this a tomcat or a geoserver related problem?
> 
> thanks for your help!
> georg
> 
> 
>
----------------------------------------------------------------------------
--
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security 
> threats, fraudulent activity, and more. Splunk takes this data and makes 
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2



----------------------------------------------------------------------------
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users




----------------------------------------------------------------------------
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users




------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to