[Zope] Newbie: Zope a webserver? Serving PHP and Perl

Loren Stafford lstaffor@dynalogic.com
Thu, 13 Jul 2000 19:58:43 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0143_01BFED04.BF9AAB60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Newbie: Zope a webserver? Serving PHP and PerlYour 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.=20

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 -----=20
  From: Lucas Young (c)=20
  To: 'zope@zope.org'=20
  Sent: July 13, 2000 03:44 PM
  Subject: [Zope] Newbie: Zope a webserver? Serving PHP and Perl


  Hi=20

  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?=20

  thanks in advance=20

  Lucas Young=20


------=_NextPart_000_0143_01BFED04.BF9AAB60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Newbie: Zope a webserver? Serving PHP and =
Perl</TITLE>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial>Your second question almost answers the first. =
You can use=20
Zope either with or without Apache. One way to handle existing PHP sites =
is to=20
put Apache in front of Zope. Then add configuration parameters to Apache =
to make=20
it examine the URLs of requests. If the URL is for PHP pages, then=20
handle&nbsp;the request in Apache/PHP. If the URL is for Zope pages, =
pass it=20
over to Zope. That way you don't even have to think about making Zope do =
PHP.=20
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial>As for setting "Zope up so it handles PHP tags", =
I'll let=20
someone else answer that, 'cause I don't know for sure whether it can =
even be=20
done.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial>-- Loren</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:lyoung@sapient.com" title=3Dlyoung@sapient.com>Lucas =
Young=20
  (c)</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:'zope@zope.org'"=20
  title=3Dzope@zope.org>'zope@zope.org'</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> July 13, 2000 03:44 =
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Zope] Newbie: Zope a =
webserver?=20
  Serving PHP and Perl</DIV>
  <DIV><BR></DIV>
  <P><FONT face=3DArial size=3D2>Hi</FONT> </P>
  <P><FONT face=3DArial size=3D2>Have just installed Zope under Win2K =
and it works=20
  fine - I see a lot of people mention using Apache to server Zope, but =
isnt=20
  Zope a webserver itself? I can browse to <A =
href=3D"http://server:8080/"=20
  target=3D_blank>http://server:8080/</A> and view Zope pages, so why =
would I need=20
  Apache?</FONT></P>
  <P><FONT face=3DArial size=3D2>Also, How do I set Zope up so it =
handles PHP=20
  tags?</FONT> </P>
  <P><FONT face=3DArial size=3D2>thanks in advance</FONT> </P>
  <P><FONT face=3DArial size=3D2>Lucas Young</FONT> =
</P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0143_01BFED04.BF9AAB60--