[Qgis-user] QGIS & Proxy auto configuration

Etienne Tourigny etourigny.dev at gmail.com
Fri Aug 31 05:12:54 PDT 2012


Hi,

Forwarding this to the qgis-developers list as it belongs there.

It should be easy to parse simple PAC files like this one

function FindProxyForURL(url, host)
   {
      return "PROXY proxy.example.com:8080; DIRECT";
   }

however more simple files would require a parser, and the one listed
on the wikipedia page (pacparser) is GPLv3 so it might not be possible
to include them inside qgis or even link against them (which would
require an extra dependence I`m not sure mote people will install).

Another note, qgis uses gdal which has its own proxy mechanism, is
this good or bad or interoperability?ienne

Etienne

On Fri, Aug 31, 2012 at 8:36 AM, Jonathan Moules
<jonathanmoules at warwickshire.gov.uk> wrote:
> Hi list,
> I have a feature suggestion I'll put here before logging a ticket.
> Currently QGIS requires manual configuration of proxy settings, however
> there's a semi-standard called "Web Proxy Autodiscovery Protocol" (
> https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol ) which some
> organisations (my own included) use to make their proxy setup more easily
> transferable between machines and software applications. It also allows for
> redundency (you can point at multiple proxy servers in the same file).
> There's a bit more info about Proxy auto-config here:
> https://en.wikipedia.org/wiki/Proxy_auto-config
>
> Would this be worth putting into QGIS? We would benefit from it, but does
> anyone else's organisation use this? Anyone know anything about it?
> There are already Open Source implementations out there (i.e. Firefox), so
> its probably possible to nab a library from somewhere to easy
> implementation.
>
> Jonathan
>
>
> This transmission is intended for the named addressee(s) only and may
> contain sensitive or protectively marked material up to RESTRICTED and
> should be handled accordingly. Unless you are the named addressee (or
> authorised to receive it for the addressee) you may not copy or use it, or
> disclose it to anyone else. If you have received this transmission in error
> please notify the sender immediately. All email traffic sent to or from us,
> including without limitation all GCSX traffic, may be subject to recording
> and/or monitoring in accordance with relevant legislation.
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



More information about the Qgis-user mailing list