I'am setting up a ZXTM reverse proxy (code below) in order to access an external site. $path = http.getPath(); $contents = resource.get("proxy.properties"); $proxyList = string.split( $contents, "\n" ); foreach( $prop in $proxyList ) { if( string.regexMatch( $prop, "(.+)=(.+):([0-9]+)" )) { $configuredPath = string.trim($1); if( string.startsWithI($path, $configuredPath)) { $host = string.unescape(string.trim($2)); http.setHeader( "Host", $host); $port = string.unescape(string.trim($3)); pool.use("PROXY", $host, $port); } } } Here the PROXY pool is a 'dummy' one and I have a proxy.properties file whose entries are of the format pathPattern=externalUrl This rule is working fine, however I cannot use this rule because the ZXTM box doesn't have connectivity to this external/public site. Therefore its suggested to use a proxy server ( i.e. proxy.company.com) for accessing this external site ( along with this rule.) My question is - is it possible to let ZXTM access a particular URL via a proxy server (To make connection to externalUrl via proxy.company.com - like we enable proxy settings for browsers)? Else is there any workaround?
... View more