Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 106456

Summary: net-www/mod_vdbh stable request
Product: Gentoo Linux Reporter: Michael Stewart (vericgar) (RETIRED) <vericgar>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 106421    
Bug Blocks:    

Description Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-09-18 18:03:47 UTC
Please test and stable mod_1.0.3-r1 for new-style apache.
Comment 1 AJ Armstrong 2005-10-14 21:58:26 UTC
Cannot test for amd64/apache-1.3, as it requires apache-2
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2005-11-01 11:37:45 UTC
Marked ppc stable.
Comment 3 Anonymous 2006-01-07 07:19:38 UTC
Works good here on x86 with apache-2. I'd consider it stable.
Comment 4 Chris White (RETIRED) gentoo-dev 2006-01-15 23:19:37 UTC
Waiting on upstream's site to not die (This so much makes me want to stabilize it :P). Frank, if you could provide the approprite test case on how you got your's running that would work as well.
Comment 5 Anonymous 2006-01-16 04:31:13 UTC
Ok, I did it like this (I think):
emerge it (don't forget ;))

Create tables and database in Mysql something like this (run mysql -u <username> -p)
CREATE DATABASE virtual_hosts;
use virtual_hosts;
CREATE TABLE virtual_hosts (
  server char(255) NOT NULL,
  path char(255),
  environment_variable char(255),
  PRIMARY KEY (server)
);


Then add some virtual hosts to the table like this:
INSERT INTO virtual_hosts VALUES ('foobar','/home/frank/public_html','localhost');
INSERT INTO virtual_hosts VALUES ('localhost','/var/www/localhost/htdocs','localhost');

Also add those to your /etc/hosts file (foobar, as localhost is already there).

Now edit the /etc/apache2/modules.d/*vdbh* file and change database name, table name and add the following lines for the username and password:

vdbh_MySQL_Username     <username>
vdbh_MySQL_Password     <password>

Now enable the mod in your /etc/conf.d/apache file and restart apache.

Most of this stuff I found in the README which came with the package...
Hope you get it working now
Comment 6 Chris White (RETIRED) gentoo-dev 2006-01-17 23:02:14 UTC
Finally got this whole biz.  x86 Stable.
Comment 7 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-02-28 18:05:36 UTC
stable as requested, resolving.