[Mod_log_sql] mod-log-sql-mysql prevents CGI execution

Tom Van Vleck thvv-gmane at multicians.org
Fri Jul 25 10:52:23 EDT 2008

I am seeing the same issue as another poster.
Turn on mod-log-sql and CGIs fail.  Remove mod-log-sql
and they work.

I installed mod-log-sql, mod-log-sql-mysql, mod-log-sql-ssl,
and mod-log-sql-dbi on a Ubuntu 8.04 machine running
Apache2.  I ran a simple hello world CGI accessed via SSL.
The CGI works when mod-log* are not enabled.  
When the mod-log* modules are enabled and the configuration
directives are added, the CGI fails with error 500.

error.log on the server shows nothing.
error_sitename.log on the server shows 
Premature end of script headers: test1.cgi
(LogLevel is debug)

Modules enabled:
authn_file.load authz_host.load cgid.conf dir.conf
log_sql_dbi.load log_sql_mysql.load mime.conf perl.load
ssl.conf authz_groupfile.load authz_user.load cgid.load
dir.load log_sql.load log_sql_ssl.load mime.load
rewrite.load ssl.load

More information about the Mod_log_sql mailing list