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-policyand 3par-rptssubdirectories whenever you change MySQL user names and passwords.

1Go to the Apache HTTP server cgi-bindirectory and locate the 3par-policysubdirectory (for example: C:\Program Files\ApacheGroup\Apache2\cgi- bin\3par-policy).

2In the 3par-policysubdirectory, locate the config.tclfile (for example, C:\Program Files\ApacheGroup\Apache2\ cgi-bin\3par-policy\config.tcl) and open with a text editor.

3At the bottom of the file, alter the $dbuser = and $dbpasswd = fields as necessary.

#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';

4Save the changes and close the file.

5Go to the Apache HTTP server cgi-bindirectory and locate the 3par-rptssubdirectory (for example, (for example, C:\Program Files\ApacheGroup\Apache2\cgi- bin\3par-rpts).

6In the 3par-rptssubdirectory, locate the config.pl file (for example, C:\Program Files\ApacheGroup\Apache2\ cgi-bin\3par-rpts\config.pl) and open with a text editor.

Modifying the Apache HTTP Server Configuration Files

7.23