[mapserver-users] Mapcache error proxy curl with external WMS

thomas bonfort thomas.bonfort at gmail.com
Thu Nov 14 08:34:42 PST 2013


it's not settable in the mapcache.xml file, however you should be able
to do it through your apache configuration file:
http://httpd.apache.org/docs/2.2/mod/mod_env.html#setenv

--
thomas

On 14 November 2013 17:20, samuelmesa at gmail.com <samuelmesa at gmail.com> wrote:
> Thanks for your answer Thomas. However I have requested the map directly
> from OSGeo WMS and I have no problems, and likewise from the command
> mapcache_seed. However from the Web demo MapCache can not display images, or
> you can not generate the tiles due to the reported error with Curl and Web
> proxy.
>
> The truth know, but it is possible that I can configure the Web Proxy in
> MapCache XML file?
>
> Regards,
>
> Samuel Mesa
>
>
> 2013/11/12 thomas bonfort <thomas.bonfort at gmail.com>
>>
>> The osgeo vmap wms service seems to be down for the time being, so
>> with or without a proxy you won't be able to get anything other than
>> an error.
>>
>> cheers,
>> thomas
>>
>> On 12 November 2013 18:35, samuelmesa at gmail.com <samuelmesa at gmail.com>
>> wrote:
>> > Hello, I get errors when trying to connect to a WMS through a proxy
>> > server.
>> >
>> > I get the following error:
>> >
>> > curl failed to request url
>> >
>> > http://vmap0.tiles.osgeo.org/wms/vmap0?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=-187.031250,-97.031250,187.031250,97.031250&WIDTH=532&HEIGHT=276&FORMAT=image/png&SRS=EPSG:4326&LAYERS=basic
>> > : Failed connect to vmap0.tiles.osgeo.org:80; Operation now in progress
>> >
>> > In Archlinux I have configured the global environment variables
>> > http_proxy
>> > and have not obtained the expected results.
>> >
>> > Thanks for any help.
>> >
>> > Regards,
>> >
>> > Samuel Mesa
>> >
>> > --
>> > ---
>> >     .~.
>> >    / v \
>> >   //    \\
>> >  /(      )\
>> >    ^`~'^
>> >
>> > _______________________________________________
>> > mapserver-users mailing list
>> > mapserver-users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
>
> --
> ---
>     .~.
>    / v \
>   //    \\
>  /(      )\
>    ^`~'^



More information about the MapServer-users mailing list