Seon HTTP Proxy support

From Seon
Revision as of 19:01, 29 July 2009 by Admin (talk | contribs) (New page: == Environmental variables == Proxy support in general is handled by most Unix programs by setting environment variables. These variables are: *<code>HTTP_PROXY</code>: hostname or IP addr...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Environmental variables

Proxy support in general is handled by most Unix programs by setting environment variables. These variables are:

  • HTTP_PROXY: hostname or IP address of proxy user
  • HTTP_PROXY_PORT: port number the proxy server is listening on
  • HTTP_PROXY_TYPE: type of proxy, valid values:
    • SOCKS4
    • SOCKS5
    • HTTP
  • HTTP_PROXY_USER: username for proxy authentification
  • HTTP_PROXY_PASSWD: password for proxy authentification

Behaviour in Seon

If proxy support is disabled, the above variables are overwritten with empty values by all Seon binaries. In subsequent processes (like event scripts or plugins), these environment share the same variables as the parent processes have. If you need special variable values for the above listed variables, you have to take care about them in your use cases.

If you have enabled proxy support in Seon and enabled usage of these special environmental variables, Seon doesn't change these values and doesn't use other definitions for HTTP proxy definitions.

If you have enabled proxy support in Seon and disabled usage of these special environmental variables, Seon will change eventually set environment variables by setting them to the defined values in the Seon definition, so it overwrites these variables in all processes.