Re: REPOST: Virtual Hosts and shared Modules

2004-03-18 Thread Stas Bekman
Marc Brooks wrote: Hello ALL, Not sure if this is possible.. So here I go.. I have a set of .pm's and .cgi scripts that are within each Virtual Host. Example: /home/domain1.com/community/Community/Toolkit.pm -- Methods accessed by--> http://domain1.com/community/login.cgi /home/domain2.com/com

Re: REPOST: Virtual Hosts and shared Modules

2004-03-18 Thread Skylos the Doggie
You probably need to store the config data in a singleton class type thing and make sure its passed to your subroutines, rather than depending on it being existant in the compile-time environment... If you do a search in the archives of this list for 'singleton' you should find examples and furthe

Re: REPOST: Virtual Hosts and shared Modules

2004-03-18 Thread Ged Haywood
Hi there, On Thu, 18 Mar 2004, Marc Brooks wrote: > /home/domain1.com/community/Community/Toolkit.pm -- Methods accessed by--> > http://domain1.com/community/login.cgi > /home/domain2.com/community/Community/Toolkit.pm -- Methods accessed by--> > http://domain2.com/community/login.cgi > /home/d

REPOST: Virtual Hosts and shared Modules

2004-03-18 Thread Marc Brooks
Hello ALL, Not sure if this is possible.. So here I go.. I have a set of .pm's and .cgi scripts that are within each Virtual Host. Example: /home/domain1.com/community/Community/Toolkit.pm -- Methods accessed by--> http://domain1.com/community/login.cgi /home/domain2.com/community/Community/To