Re: [Zope] Newbie: Zope a webserver? Serving PHP and Perl
> - Original Message - > From: Lucas Young (c) > > Also, How do I set Zope up so it handles PHP tags? > Take a look at a HOW-TO I wrote for one way to serve PHP from within Zope: www.zope.org/Members/Mamey/PHP -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Newbie: Zope a webserver? Serving PHP and Perl
On Thu, Jul 13, 2000 at 05:44:23PM -0500, Lucas Young (c) wrote: > Have just installed Zope under Win2K and it works fine - I see a lot of > people mention using Apache to server Zope, but isnt Zope a webserver > itself? I can browse to http://server:8080/ and view Zope pages, so why > would I need Apache? > > Also, How do I set Zope up so it handles PHP tags? Your second question answers your first. Zope's ZServer does indeed serve HTTP, but it only serves Zope objects. Apache, on the other hand, allows you to serve much more, including PHP. You can use Apache to integrate the two, there's a How-To on Zope.org that explains how to do this, IIRC. Basically, reasons for using Apache are: - Using SSL (but there is an addon product for ZServer that covers this as well) - Integration with other content, like static files and, in your case PHP. - Virtual servers, competing for ip addresses or ports. - Serving virtual servers out of Zope. This is not a complete list, but these are the most important reasons. On the other hand, using Apache introduces another level of complexity to your setup, introducing a speed bump, a potential source of misconfiguration problems, and another link in the chain that could break. -- Martijn Pieters | Software Engineermailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ | ZopeStudio: http://www.zope.org/Products/ZopeStudio - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Newbie: Zope a webserver? Serving PHP and Perl
Title: Newbie: Zope a webserver? Serving PHP and Perl Your second question almost answers the first. You can use Zope either with or without Apache. One way to handle existing PHP sites is to put Apache in front of Zope. Then add configuration parameters to Apache to make it examine the URLs of requests. If the URL is for PHP pages, then handle the request in Apache/PHP. If the URL is for Zope pages, pass it over to Zope. That way you don't even have to think about making Zope do PHP. As for setting "Zope up so it handles PHP tags", I'll let someone else answer that, 'cause I don't know for sure whether it can even be done. -- Loren - Original Message - From: Lucas Young (c) To: '[EMAIL PROTECTED]' Sent: July 13, 2000 03:44 PM Subject: [Zope] Newbie: Zope a webserver? Serving PHP and Perl Hi Have just installed Zope under Win2K and it works fine - I see a lot of people mention using Apache to server Zope, but isnt Zope a webserver itself? I can browse to http://server:8080/ and view Zope pages, so why would I need Apache? Also, How do I set Zope up so it handles PHP tags? thanks in advance Lucas Young
RE: [Zope] Newbie: Zope a webserver? Serving PHP and Perl
Lucas, If you don't know of a reason you would need Apache, you don't need it. :-) Zope does not directly handle PHP tags. -Original Message- From: Lucas Young (c) [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 13, 2000 6:44 PM To: '[EMAIL PROTECTED]' Subject: [Zope] Newbie: Zope a webserver? Serving PHP and Perl Hi Have just installed Zope under Win2K and it works fine - I see a lot of people mention using Apache to server Zope, but isnt Zope a webserver itself? I can browse to http://server:8080/ and view Zope pages, so why would I need Apache? Also, How do I set Zope up so it handles PHP tags? thanks in advance Lucas Young ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )