WebGUI Configuration Tricks

Database Name

The database name can be changed on the dsn line of the WebGUI.conf configuration file. This is convenient if multiple WebGUI instances will be run on the same server or if WebGUI tables must be inserted into an existing database.

Tuning mod_perl

In order to get the best performance out of WebGUI, mod_perl must be installed and enabled for the directory that will be serving index.pl. In addition, preloading WebGUI using the preload.perl script will also increase performance.

Modifications will have to be made to the preload.perl script:

  • Update the path on the use lib line.
  • Select use ModPerl::Registry instead of use Apache::Registry.

Now, add the following line to httpd.conf within your virtual host config:

PerlRequire /path/to/WebGUI/sbin/preload.perl

Caching for fun and Profit

Install the Cache::FileCache Perl module using CPAN and restart Apache to enable caching.