cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
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.

Thanks!


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).

-- SvenDowideit - 29 Oct 2009

You can use the perl accelerator SpeedyCGI and its "group" parameter. A few years ago, that worked very well.

-- OliverKrueger - 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.

-- DiabJerius - 05 Nov 2009

QuestionForm edit

Subject Using an extension
Extension ModPerlEngineContrib
Version Foswiki 1.0.7
Status Answered
Topic revision: r4 - 05 Nov 2009, DiabJerius - This page was cached on 22 Jun 2018 - 23:20.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy