|
|
|
mod_vhost_dbi Documentation |
||
DocumentationCompilation
The interesting options you can pass to configure are:
./configure --with-apxs=/usr/sbin/apxs2 make make install Integration into ApacheTo activate Configuring with ApacheA
PoolDbiDriver Server1 mysql
PoolDbiHost Server1 10.0.0.20
PoolDbiUsername Server1 myuser
PoolDbiPassword Server1 mypass
PoolDbiDBName Server1 vhost_dbi
PoolDbiConnMin Server1 1
PoolDbiConnSoftMax Server1 1
PoolDbiConnHardMax Server1 5
PoolDbiConnTTL Server1 30
<VirtualHost *:80>
VhostDbiEnabled On
VhostDbiConnName Server1
VhostDbiQuery "SELECT ServerName, DocumentRoot, Username " \
FROM vhost_info WHERE ServerName = &{RequestHostname}"
</VirtualHost>
|