Forums.ATC.no

Teknisk => Generelt teknisk => Emne startet av: ATC på 27. ſeptember 2008, 18:24 pm

Tittel: mod_log_sql directives not recognized by Apache 1.3
Skrevet av: ATC27. ſeptember 2008, 18:24 pm
After carefully compiling and installing mod_log_sql, and then carefully editing httpd.conf as per the documentation, Apache still won't recognize any of the new config directives. All modules are confirmed to be in place.
Tittel: [Solved] mod_log_sql directives not recognized by Apache 1.3
Skrevet av: ATC27. ſeptember 2008, 18:24 pm
The documentation is incomplete. The following FOUR lines are needed to load and add the module with mysql support:

LoadModule log_sql_module modules/mod_log_sql.so
LoadModule log_sql_mysql_module modules/mod_log_sql_mysql.so
AddModule mod_log_sql.c
AddModule mod_log_sql_mysql.c

(The third line is missing in som versions of the online documentation)