67595Re: Apache::DBI and NameVirtualHost
- Oct 26, 2005
>>>>> "gb" == gb <gb@...> writes:gb> Each site has a startup script with
This may be your problem. If the connection string is identical,
Apache::DBI caches it as "the same connection". But if you then
do something unique per virthost in your connect_on_init, you're
working against the system there, and you get broken results.
One solution is to ensure that you use a different username/password
per virthost, so that the connection string varies.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
- << Previous post in topic Next post in topic >>