Re: [Zope] Serve PHP/Perl within Zope

2006-02-02 Thread Chris Withers

Anything along these lines is silly.

Serve your other stuff from Apache, use rewrite rules to get the right 
stuff served...


...but hey, you could always use Squid and ESI if you want multiple 
languages to generate a single page ;-)


cheers,

Chris

sharif islam wrote:

Has anyone tried using this method: http://www.zope.org/Members/Mamey/PHP

I am little confused about how to serve the actual php content within
the files. I added file with this:
dtml-if REQUEST.has_key('phpScript')
dtml-var ServePHPContent(REQUEST['phpScript'])
/dtml-if
Then I tried to begin the php content after this and saved it as
file.php3. However, when I view zope doesn't render it.

--Sharif
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce

 http://mail.zope.org/mailman/listinfo/zope-dev )



--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Serve PHP/Perl within Zope

2006-02-02 Thread Martijn Pieters
On 2/2/06, Chris Withers [EMAIL PROTECTED] wrote:
 ...but hey, you could always use Squid and ESI if you want multiple
 languages to generate a single page ;-)

Which makes damned good sense if the component parts assembled by ESI
were cached individually. So the whole homepage cached for 24 hours,
except for the breaking news box (cached for 1 hour) and the poll
which comes from a dedicated poll server..

I'd prefer the same language at the Squid level, granted, but if
simplicity enables little loss in performance so be it.

--
Martijn Pieters
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Serve PHP/Perl within Zope

2006-02-01 Thread sharif islam
Has anyone tried using this method: http://www.zope.org/Members/Mamey/PHP

I am little confused about how to serve the actual php content within
the files. I added file with this:
dtml-if REQUEST.has_key('phpScript')
dtml-var ServePHPContent(REQUEST['phpScript'])
/dtml-if
Then I tried to begin the php content after this and saved it as
file.php3. However, when I view zope doesn't render it.

--Sharif
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )