Hi list,

I still have a 8080 request when I print a pdf from the /maps/x/view page.
The request is /proxy?url=address:8080 so the request to the pdf is
:8080/geoserver/pdf....

This happens even if I have set up the Proxy Base Url in the global settings
and the PreserveProxyHost in the apache configuration.

Thanks in advance for your help.

Simone

2011/3/17 Simone Dalmasso <[email protected]>

> Thanks a lot David, this has been really helpful and solved my issue.
>
> Simone
>
> 2011/3/16 David Winslow <[email protected]>
>
>> A common issue when running GeoServer  behind a proxy is that GeoServer
>> (which dynamically generates internal links based on the Host: header in
>> HTTP requests) advertises its internal address rather than the one that the
>> client originally used.  Since GeoNode uses OGC services where possible (in
>> particular, to provide some configuration for the map viewer), this could
>> result in the behavior you're describing.  If you are using Apache for a
>> proxy, you can set the ProxyPreserveHost option to correct the issue.
>>  Otherwise, GeoServer has a proxy "base url" configuration option which will
>> be used independently of the proxy software.  That option is documented in
>> the GeoServer manual:
>> http://docs.geoserver.org/stable/en/user/webadmin/server/globalsettings.html
>>
>> Hope this helps.
>>
>> --
>> David Winslow
>> OpenGeo - http://opengeo.org/
>>
>>
>> On Wed, Mar 16, 2011 at 9:33 PM, Simone Dalmasso <
>> [email protected]> wrote:
>>
>>> Hi list,
>>> I recently deployed GeoNode here http://geonode.ithacaweb.org/ putting
>>> geoserver behind the apache proxy in order to use the port 80.
>>> All seems to work fine except for the geonode maps (geoexplorer and
>>> minimap) which ask for layers through the port 8080.
>>> I never used the 8080 port in the local_setting and I can't understand
>>> where those viewers get the :8080/geoserver address.
>>>
>>> Can you help me?
>>>
>>> Thanks
>>> --
>>> Simone Dalmasso
>>>
>>
>>
>
>
> --
> Simone Dalmasso, Ing.
> ITHACA
> Information Technology for Humanitarian Assistance, Cooperation and Action
> www.ithacaweb.org
> Via Pier Carlo Boggio 61 - 10138 Torino
> Tel: +39.011.1975.1854
>



-- 
Simone Dalmasso, Ing.
ITHACA
Information Technology for Humanitarian Assistance, Cooperation and Action
www.ithacaweb.org
Via Pier Carlo Boggio 61 - 10138 Torino
Tel: +39.011.1975.1854

Reply via email to