Configuration Parameters

Top  Previous  Next

The component uses configuration parameters which are specified in the [HTTPD] section of the integrated configuration file of Dr.Web for UNIX Internet Gateways.

The section contains the following parameters:

LogLevel

{logging level}

Logging level of the component.

If the parameter value is not specified, the DefaultLogLevel parameter value from the [Root] section is used.

Default value: Notice

Log

{log type}

Logging method

ExePath

{path to file}

Path to the executable file of the component.

Default value: <opt_dir>/bin/drweb-httpd

For Linux, Solaris: /opt/drweb.com/bin/drweb-httpd

For FreeBSD: /usr/local/libexec/drweb.com/bin/drweb-httpd

Start

{Boolean}

The component must be launched by the Dr.Web ConfigD configuration daemon.

When you specify the Yes value for this parameter, it instructs the configuration daemon to start the component immediately; and when you specify the No value, it instructs the configuration daemon to terminate the component immediately.

It depends on whether product management interface is installed.

WebConsoleAddress

{address, …}

List of network sockets (every network socket specified as <IP address>:<port>) on which Dr.Web HTTPD is listening for connections to the web interface provided for managing the product, if the web interface is installed. Access to the web-interface at these Addresses is provided via HTTPS.

If no value is specified, it is impossible to use the web interface.

Default value: 127.0.0.1

LinkCheckerAddress

{address, …}

List of network sockets (every network socket consists of <IP address>:<port>) on which Dr.Web HTTPD is listening for connections (via HTTP) from the Dr.Web Link Checker browser extension that checks webpages loaded by the browser for malicious objects.

You can specify a list as the parameter value. The values in the list must be separated with commas (each value in the quotation marks). The parameter can be specified more than once in the section (in this case, all its values are combined into one list).

Example: Add sockets 192.168.0.1:1234 and 10.20.30.45:5678 to the list.

1.Adding of values to the configuration file.

Two values in one string

[<%HTTPD_SECTION%>]
LinkCheckerAddress = "192.168.0.1:1234", "10.20.30.45:5678"

Two strings (one value per a string)

[<%HTTPD_SECTION%>]
LinkCheckerAddress = 192.168.0.1:1234
LinkCheckerAddress = 10.20.30.45:5678

2.Adding values via the command drweb-ctl cfset.

# drweb-ctl cfset <%HTTPD_SECTION%>.LinkCheckerAddress -a 192.168.0.1:1234
# drweb-ctl cfset <%HTTPD_SECTION%>.LinkCheckerAddress -a 10.20.30.45:5678

If no value is specified, it is impossible to use the Dr.Web Link Checker browser extension. Note that at these addresses (sockets) you cannot access the web-interface provided for managing the product.

Default value: (not specified)

ServerSslCertificate

{path to file}

Path to the file with the server certificate used by the web interface server for communication with other hosts via HTTPS.

This file is generated automatically during the installation of the component.

Please note that the certificate file and the private key file (which is specified by a parameter described below) must form a matching pair.

Default value: <etc_dir>/certs/serv.crt

For Linux, Solaris: /etc/opt/drweb.com/certs/serv.crt

For FreeBSD: /usr/local/etc/drweb.com/certs/serv.crt

ServerSslKey

{path to file}

Path to the private key file used by the web interface server for communication with other hosts via HTTPS.

This file is generated automatically during the installation of the component.

Please note that the certificate file (which is specified by the previous discussed parameter) and the private key file must form a matching pair.

Default value: <etc_dir>/certs/serv.key

For Linux, Solaris: /etc/opt/drweb.com/certs/serv.key

For FreeBSD: /usr/local/etc/drweb.com/certs/serv.key

WebconsoleRoot

{path to directory}

Path to the directory which stores the files used by the management web interface if it is installed (similar to the htdocs directory of an Apache HTTP Server).

Default value: <opt_dir>/share/drweb-httpd/webconsole

For Linux, Solaris: /opt/drweb.com/share/drweb-httpd/webconsole

For FreeBSD: /usr/local/libexec/drweb.com/share/drweb-httpd/webconsole

LinkcheckerRoot

{path to directory}

Path to the directory which stores the files used by Dr.Web Link Checker web browser extension.

Default value: <opt_dir>/share/drweb-httpd/linkchecker

For Linux, Solaris: /opt/drweb.com/share/drweb-httpd/linkchecker

For FreeBSD: /usr/local/libexec/drweb.com/share/drweb-httpd/linkchecker

AccessLogPath

{path to file}

Path to the file where all HTTP/HTTPS requests from clients to the web interface server are registered.

If not specified, HTTP/HTTPS requests are not logged to a file.

Default value: (not specified)