Skrevet av Emne: mod_log_sql directives not recognized by Apache 1.3  (Lest 4273 ganger)

ATC

  • Gjest
mod_log_sql directives not recognized by Apache 1.3
« på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • 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.



    ATC

    • Gjest
    [Solved] mod_log_sql directives not recognized by Apache 1.3
    « Svar #1 på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • 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)