mod_vhost_mysql 0.10 review

Download
by rbytes.net on

License: The Apache License
File size: 3K
Developer: Tomohiro IKEBE
0 stars award from rbytes.net

mod_vhost_mysql provides dynamically configured Virtual Hosting.

Requirements:
Apache 1.3
MySQL

Installation:

1) Make mod_vh_mysql as a DSO module.

% make APXS=/path/to/apxs
# make install

MySQL Setup

CREATE TABLE vh (
servername VARCHAR(255) NOT NULL PRIMARY KEY,
docroot VARCHAR(255) NOT NULL
);

INSERT your VirthalHost setting.

INSERT INTO vh VALUES('www.example.com', '/path/to/example.com/htdocs');

CONFIG EXAMPLE

UseCanonicalName Off

VhMySQLEngine On
VhMySQLDBName vh
VhMySQLDBUser apache
VhMySQLDBPassword secret

VhMySQLTableName vh
VhMySQLServerNameField servername
VhMySQLDocRootField docroot

mod_vhost_mysql 0.10 keywords