SQLEngine

Name

SQLEngine -- Configure how mod_sql will operate

Synopsis

SQLEngine [ on|off|auth|log]

Default

SQLEngine on

Context

server config, <Global>, <VirtualHost>, <Anonymous>

Module

mod_sql

Compatibility

1.3.0rc1 and later

Description

The SQLEngine directive is used to specify how mod_sql will operate. By default, SQLEngine is on, and mod_sql will operate as normal. Setting SQLEngine to off will effectively disable the module.

In addition to on and off, SQLEngine accepts two other values: auth and log. If you wish to use mod_sql for authentication and not for logging (via SQLLog), use auth. Conversely, to do only SQLLog-type logging, and no authentication, use log.

This directive can be used to have <Anonymous> sections that do not use mod_sql (see the example below).

See also

Examples

  <Anonymous ~ftp>
    ...
    SQLEngine off
    ...
  </Anonymous>