Command-Line Arguments

To run the web interface for Anti-virus management Dr.Web HTTPD from the command line, type the following command:

$ <opt_dir>/bin/drweb-httpd [options]

Dr.Web HTTPD can process the following options:

Short form

Long form

Arguments

-h

--help

 

Description: instructs to output short help information to the console about command-line parameters and exit.

 

-v

--version

 

Description: instructs to output information on the module version and exit.

Example:

$ /opt/drweb.com/bin/drweb-httpd --help

This command outputs short help information on the server of the web interface Dr.Web HTTPD.

Notes about startup

The component cannot be run directly from the command line of the operating system in standalone mode. It is run automatically by configuration daemon Dr.Web ConfigD when required (usually on operating system startup). If the component is running, you can enable management of Dr.Web for UNIX servers components by establishing an HTTPS connection to an address listened by the component using any standard browser.

Moreover, to manage component operation, use the command-line tool for the solution management Dr.Web Ctl (it is run by drweb-ctl command).

Convention for paths to product files

The product described in the present document is designed for operation in different UNIX-based operating system. Real paths to product files depend on the operating system installed on the user's computer. For notational convenience, the following conventions are used:

<opt_dir> — directory where main product files reside (including executable files and libraries).

<etc_dir> — directory where the configuration file and a key file reside.

<var_dir> — directory where supporting and temporary product files reside.

Real paths corresponding to the conventions in different operating systems are given in the table below.

Operating system

Convention

Real path

GNU/Linux

<opt_dir>

/opt/drweb.com

<etc_dir>

/etc/opt/drweb.com

<var_dir>

/var/opt/drweb.com

 

 

 

FreeBSD

<opt_dir>

/usr/local/libexec/drweb.com

<etc_dir>

/usr/local/etc/drweb.com

<var_dir>

/var/drweb.com

 

 

 

Solaris

<opt_dir>

The paths are the same as for GNU/Linux.

<etc_dir>

<var_dir>

For space considerations, examples given in the present document use paths for GNU/Linux OS. In some places of the document, where it is possible, examples contain real paths for all of the OSes.