This question about Using an extension: Answered
Can I run multiple Foswiki sites under mod_perl?
I'm currently running several independent wikis (on apache) on a single virtual host. I'd like to run them all under mod_perl. Is it possible to do so without any interactions between the instances? I tried doing this many years ago under T(m)wiki, but there was instance specific information being stored in global variables which caused mass confusion between the separate instances.
As an example, if the configuration information is read by mod_perl_startup.pl, then it seems that only one wiki can run under mod_perl.
The documentation for ModPerlEngineContrib
hints at this not being a problem, but I'd appreciate a more definitive ruling.
While I'm not 100% sure, I would be surprised if you could do it. The cfg settings are kind of global, and there are some other global objects.
As a short term solution, I think you'll need to use FastCgi
, or run seperate Apache's. Longer term, you could consider helping out the development of the StandaloneFoswiki
- where Foswiki runs as its own persistent web server (which you'd then mod_proxy to the world via Apache).
- 29 Oct 2009
You can use the perl accelerator SpeedyCGI and its "group" parameter. A few years ago, that worked very well.
- 30 Oct 2009
Thanks for the response. I'll try one of the other accelerators. I'd very much like to help out with SandaloneFoswiki
, but I'm afraid I've run out of 'tuits.
- 05 Nov 2009