W E B T U N E R
log/
— the directory containing the web server reports.
10.3.2. Setting up the web server
and WebTuner
Web server and WebTuner, the remote administration program, are
installed on your computer by the Installer program (for details refer to
chapter 2). Right after the installation is completed you must follow the
steps described below in order to set up these programs:
1. To ensure the web server will load correctly, verify that the
following strings of the file
_httpd.init
are located in the
directory
/opt/AVP/httpd
and are correct:
•
INIFILE
– path to the web server configuration file. For
example, the string may look like the following:
INIFILE=/opt/AVP/httpd/conf/_httpd.conf
•
HTTPD
– path to the web server executable file. For
example
,
HTTPD=/opt/AVP/httpd/bin/_httpd
2. Verify and edit, if not correct, the following strings of the file
_httpd.
conf
located in the directory
conf/
:
•
PORT
—
the server port number to communicate with. For
example,
PORT=1100
•
CGI_PATH_SUBSTR
—template for the cgi scripts (only the
files corresponding to this template will be enabled to
start). The parameter line may look similar to the
following:
CGI_PATH_SUBSTR
=
cgi-bin/*
•
USER
—the user name, whose rights are assigned to the
web server. For example,
USER
=
root
•
CHARSET
—the table of symbols to be used in the MIME
text.
•
PID_FILE
—path to the web server .pid file. For example,
PID_FILE
=
/var/run/_httpd.pid
•
LOG_FILE
—path to the web server log file. For example,
LOG_FILE=/opt/AVP/httpd/log/_httpd
120