mod_vhost_mysql2mod_vhost_mysql2 provides dynamically configured Virtual Hosting in Apache2. | |
Download |
mod_vhost_mysql2 Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Fabian Bluemel
- Publisher web site:
- http://www.linuxno.de/index.php?id=421
mod_vhost_mysql2 Tags
mod_vhost_mysql2 Description
mod_vhost_mysql2 provides dynamically configured Virtual Hosting in Apache2. mod_vhost_mysql2 provides dynamically configured Virtual Hosting in Apache2.Requirements:· Apache 2.xInstallation:1) Make mod_vh_mysql as a DSO module. % make APXS=/path/to/apxs2 # make installOR Copy .libs/mod_vhost_mysql.so to the Apache modules directory. MySQL Setup:CREATE TABLE vh ( id int(11) NOT NULL auto_increment, docroot varchar(255) NOT NULL, servername varchar(255) NOT NULL, alias1 varchar(255) NOT NULL, alias2 varchar(255) NOT NULL, alias3 varchar(255) NOT NULL, PRIMARY KEY (id) );INSERT your VirthalHost setting. INSERT INTO vh VALUES('',www.example.com','mail.example.com','test1.example.com','test2.example.com','/path/to/example.com/htdocs');CONFIG EXAMPLETo load the moduleUseCanonicalName OffVhMySQLEngine OnVhMySQLDBName vhVhMySQLDBUser apacheVhMySQLDBPassword secretVhMySQLTableName vhVhMySQLServerNameField servernameVhMySQLDocRootField docrootVhMySQLAlias1Field alias1VhMySQLAlias2Field alias2VhMySQLAlias3Field alias3
mod_vhost_mysql2 Related Software