On Wed, Dec 04, 2002 at 11:37:20AM +0200 /me wrote:
> I am having trouble setting different Perl*Handler's for two different
> VirtualHosts. The virtual hosts use one IP and are name-based.
[... details skipped ...]

It works. It was me that's wrong. PerlFixupHandlers work just as
expected with named virtual hosts.

For the record - here's the source of my troubles.

I have two classes that need to be single-instance within the
application. the "signle"-ness is implementent in a parent class which
creates new instance only if there is no previous one.

Trouble begins when asking the second application derived class to
create an instance and its parent returns the instance of the first
class.

Fixing the parent to cache one instance _per class_ solves the problem.

I knew it's me who is wrong, not mod_perl...

Funny thing is that the silence on the list made me think :-)))


dam

-- 
Damyan Ivanov                             Creditreform Bulgaria
[EMAIL PROTECTED]             http://www.creditreform.bg/
phone: +359 2 928 2611, 929 3993           fax: +359 2 920 0994
mobile: +359 88 566067                             ICQ: 3028500

Attachment: msg31627/pgp00000.pgp
Description: PGP signature

Reply via email to