8 modifying the, Apache http server configuration files, 8 modifying – HP 3PAR System Reporter Software User Manual
Page 191: The apache http server configuration files, Modifying the apache, Http server configuration files

7.23
Modifying the Apache HTTP Server Configuration Files
System Reporter 2.8
3PAR System Reporter User’s Guide
7.8 Modifying the Apache HTTP Server Configuration Files
You must modify the Apache HTTP Server
config.tcl
files located in the
3par-policy
and
3par-rpts
subdirectories whenever you change MySQL user names and passwords.
1
Go to the Apache HTTP server
cgi-bin
directory and locate the
3par-policy
subdirectory (for example:
C:\Program Files\ApacheGroup\Apache2\cgi-
bin\3par-policy
).
2
In the
3par-policy
subdirectory, locate the
config.tcl
file
(for example,
C:\Program Files\ApacheGroup\Apache2\
cgi-bin\3par-policy\config.tcl
) and open with a text editor.
3
At the bottom of the file, alter the
$dbuser =
and
$dbpasswd =
fields as necessary.
4
Save the changes and close the file.
5
Go to the Apache HTTP server
cgi-bin
directory and locate the
3par-rpts
subdirectory
(for example, (for example,
C:\Program Files\ApacheGroup\Apache2\cgi-
bin\3par-rpts)
.
6
In the
3par-rpts
subdirectory, locate the
config.pl
file
(for example,
C:\Program Files\ApacheGroup\Apache2\
cgi-bin\3par-rpts\config.pl
) and open with a text editor.
# Select the type of database (sqlite or mysql):
$main::dbtype = 'mysql';
$main::dbhost = 'localhost';
# Enter database name
$main::dbname = 'inservstats';
# Enter database user name and password
$main::dbuser = 'cliuser';
$main::dbpasswd = 'password';