Go to the first, previous, next, last section, table of contents.
All the libraries have been tested with the mod_perl Apache module. The cgi-bin can be registered with the Registry module. For more information refer to the mod_perl home page.
The advantage of using mod_perl is that the cgi-bin executes in an perl interpretor embedded in the Apache. This is much faster than running the cgi-bin with a separate perl process.
Here are the lines that must be added to the access.conf file:
<Location /cgi-bin/Catalog> SetHandler perl-script PerlSendHeader On PerlHandler Apache::Registry Options ExecCGI </Location>
In addition, the Apache::DBI module has the ability to cache the database connection that use the DBI package. Since Catalog uses DBI to connect to MySQL, it saves the overhead of connecting and disconnecting each time an action is run.
To enable Apache::DBI add the following line to httpd.conf:
PerlModule Apache::DBI
Go to the first, previous, next, last section, table of contents.