
I missed the earlier part of this thread but you can use Parent/Clone to have a separate perl interpreter within a named virtual host. I just learned about this myself the other day so I don't have deployment experience with it. Here is a link to the mod_perl2 docs for it. http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_ Obviously trying to load two modules with the same namespace from different sources within a single interpreter does not work, mod_perl or not. -- Owen On 16-Apr-09, at 10:44 PM, Ikhsan Muhammad wrote:
You are right Scott!! After some research I found out that mod_perl2 cannot have same namespace for different code.
So, finally I used two apache on one machine..
Thx a alot.
On Tue, Apr 7, 2009 at 1:34 PM, Scott Storck
wrote: Hi Ikhsan, If you are going to use mod_perl2, I don't think it is possible. You can only have one codebase for a namespace. I can only recommend using two separate apaches. It is relatively easy getting two apache (or more) setup on one machine. You just need to setup a secondard IP address and configure both of the httpd.conf files to listen to only one IP.
If anybody thinks I'm wrong about mod_perl2, please let me know.
Regards, Scott
Scott Storck Information Technology --------------------------------------------------------------------- Topdeq Service GmbH Werner-von-Siemens-Straße 31 D-64319 Pfungstadt Phone +49 6157 159-444 Fax +49 6157 159-333 scott.storck@topdeq.com
Geschäftsführer: Didier Nulens Sitz der Gesellschaft : Pfungstadt, HRB Darmstadt 7294
www.topdeq.biz www.takkt.com