On unix/cygwin I would usually use something like -->

$ echo $http_proxy
http://XXX-XXX.XXX.bbc.co.uk:80

Thus tools such as curl etc use the SOCKs proxy.

I am running virtuoso on windows and was wondering if there is a similar
environment var I need to set in order that virtuoso uses a proxy?
Or can this be configured in virtuoso.ini? I could not see anything in
there.... Is there a URL which describes all the ini config settings in
detail? I can't find this anywhere..

I noticed this stuff in the ini file for server configuration but I
couldn't see anything for the sponger proxy using a proxy?

        [HTTPServer]
        ServerPort                  = 8890
        ServerRoot                  = ../vsp
        DavRoot                     = DAV
        EnabledDavVSP               = 0
        HTTPProxyEnabled            = 0
        TempASPXDir                 = 0
        DefaultMailServer           = localhost:25
        ServerThreads               = 5
        MaxKeepAlives               = 10
        KeepAliveTimeout            = 10
        MaxCachedProxyConnections   = 10
        ProxyConnectionCacheTimeout = 15
        HTTPThreadSize              = 280000
        HttpPrintWarningsInOutput   = 0
        Charset                     = UTF-8

Hopefully this clarifies my problem a little

Thanks again
Jem

> _____________________________________________ 
> From:         Jem Rayfield  
> Sent: 16 February 2009 16:17
> To:   virtuoso-users@lists.sourceforge.net
> Subject:      HTTP proxy
> 
> Hi,
> 
> I am having problems sponging external data as my virtuoso instance is
> behind a SOCKs proxy.
> 
> Thus I keep seeing results such as -->
> 
> $ curl -H "Accept: text/xml"
> "http://localhost:8890/about/rdf/http://www.freebase.com/view/en/barac
> k_obama"
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
> <html>
>   <head>
>     <title>Error HTCLI</title>
>   </head>
>   <body>
>     <h3>Error HTCLI</h3><pre>
> HC001: Connection Error in HTTP Client
>   </pre></body>
> </html>
> 
> How can I setup the server to use a proxy for client connections?
> 
> Thanks for pointers
> Jem

Reply via email to