On Thu, Jun 06, 2002 at 04:43:59PM -0400, Charlie Fulton wrote:
Should I serve zope content with apache and also use it to serve tutos. Or is there a way to serve PHP scripts directly from Zope? One of the how-tos seems to have a way of passing the PHP requests through Zope to be rendered by apache.
I've not used Tutos specifically, but I have Squirrelmail (php webmail) and Zope running at home. Apache sits up front, and proxies any Zope-related requests to Zope (those Zope-related requests could be the vast majority of the site, including the site's root directory). It handles all other requests itself, whether they're static, cgi, or php. Set up nigh-identically to my documentation at: http://www.zope.org/Members/mwr/VHosts_With_Zope_Default I'd imagine any php solution that involves putting Zope ahead of Apache or PHP in the process chain involves running php from the command line, cgi-style. If so, I'd expect that to be mind-numbingly slow under any reasonable load. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu