List Info

Thread: Frontend CherryPy (in TurboGears) with CGIHTTPServer (py distr.)




Frontend CherryPy (in TurboGears) with CGIHTTPServer (py distr.)
user name
2006-03-23 02:01:26
Hi folks,

'am a newbiew to CP and TG... 'am attempting to create a
prototype app
(proof of concept)  quickly where I'd like to frontend
CherryPy (of TG)
with the simple HTTP1.1/CGI1.1 based CGIHTTPServer. While I
can see how
Lighttpd can be configured to do this, I couldn't find any
info on
using CGIHTTPServer ? Would like to keep the whole thing in
py-land
itself...

Can someone share pointers on this ?

TIA,
/venkat


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

Frontend CherryPy (in TurboGears) with CGIHTTPServer (py distr.)
user name
2006-03-23 03:31:25
On 3/22/06, venkatbo <venkatboyahoo.com> wrote:
> 'am a newbiew to CP and TG... 'am attempting to
create a prototype app
> (proof of concept)  quickly where I'd like to frontend
CherryPy (of TG)
> with the simple HTTP1.1/CGI1.1 based CGIHTTPServer.
While I can see how
> Lighttpd can be configured to do this, I couldn't find
any info on
> using CGIHTTPServer ? Would like to keep the whole
thing in py-land
> itself...
>
> Can someone share pointers on this ?

I'm pretty sure you don't want to do this. While you can
likely coerce
TurboGears to run as a CGI, you won't be at all happy with
the
performance.

CherryPy includes a robust, performant server already. And
that
certainly keeps it all in py-land.

(If you run tg-admin quickstart to get a project going and
then run
the start-<yourproject>.py script, you're running
CherryPy's server.)

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

Frontend CherryPy (in TurboGears) with CGIHTTPServer (py distr.)
user name
2006-03-23 03:46:14
Hi Kevin,

> CherryPy includes a robust, performant server already.
> And that certainly keeps it all in py-land...

So, it looks like, if I want HTTP1.1 support (and not use
the bulky Apache) lighttpd (proxy to TG/CP) is pretty
much the best bet 

>From what I've read so far, CP's webserver only
supports
HTTP1.0. Would funneling all the 1.1reqs (coming into
lighttpd) as 1.0 reqs to CP, negatively affect thruput
to a significant extent ?

Also, I'm presuming if I want to enable HTTPS in lighttp
(via openssl), everything downstream (from lighttpd) will
fucntion unchaged... Is that assumption true... or would
some config need to be changed for CP/TG.

Thanks a lot for your help.
/venkat


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )