CherryPy as Django Server (was HttpServer as a Windows Service)

2005-12-23 Thread David Pratt
Hi Adrian. I have got the CherryPy server working as a development/deployment server for Django for my own needs. It consists of class that wraps the wsgi server and a modification to the cherrypy's core wsgi server. This was the issue I spoke of in my last mail. I figured out the problem tha

Re: HttpServer as a Windows Service

2005-12-20 Thread David Pratt
License is BSD so all is well in that regard. There is still an issue with the app that gets passed to the server to deliver the request properly. It would be great is there is someone interested in helping that understands this aspect of Django well that could lend a hand. Regards, David

Re: HttpServer as a Windows Service

2005-12-20 Thread Adrian Holovaty
On 12/20/05, David Pratt <[EMAIL PROTECTED]> wrote: > Further, if cherrypy wsgiserver is used, the cgi for windows service has > already been written and get Django a bit futher along for some sort of > packaging as been suggested for Windows. Hi David, This sounds fine to me. If the license is

Re: HttpServer as a Windows Service

2005-12-20 Thread David Pratt
Hi Adrian. I think the first part of this is to get the server to spin off its thread with a cgi to start and stop. This can then be wrapped with win32service to make this a windows service as with similar code I put up the other day. I noticed that Django is already using the cherrypy autore

Re: HttpServer as a Windows Service

2005-12-19 Thread Adrian Holovaty
On 12/19/05, Dody Suria Wijaya <[EMAIL PROTECTED]> wrote: > I agree. Part of the reason Plone was really popular because it's so > easy to install, and behave like normal Windows software. This means > daemon-like software always present as Windows Service, and get > started/stopped via familiar i

Re: HttpServer as a Windows Service

2005-12-19 Thread David Pratt
Hi Adrian. I have been doing a bit more investigating today and some threading experiments first. Maybe something will come from it. Like I say, I am not a Windows person myself ;-). I will also likely try a couple other servers to see where this goes. It may just be experimentation for now u

Re: HttpServer as a Windows Service

2005-12-19 Thread Dody Suria Wijaya
I agree. Part of the reason Plone was really popular because it's so easy to install, and behave like normal Windows software. This means daemon-like software always present as Windows Service, and get started/stopped via familiar interface. Django so far has not as easy as it could be. Packa

Re: HttpServer as a Windows Service

2005-12-19 Thread David Pratt
Thanks for this. I have been reading up quite a bit on threading and also windows services. I am not much of a windows user but sometimes you find yourself needing to do things with it. For me Mac is great and Unix of course. Regards, David PythonistL wrote: David, Check this http://group

Re: HttpServer as a Windows Service

2005-12-19 Thread Adrian Holovaty
On 12/19/05, David Pratt <[EMAIL PROTECTED]> wrote: > Hi Ian. Thanks for your reply. It does, however I was looking at this > from the perspective of running the small httpserver as its own service > when Django is installed on a Windows machine for development. Is there > any interest in this? H

Re: HttpServer as a Windows Service

2005-12-19 Thread PythonistL
David, Check this http://groups.google.com/group/comp.lang.python/browse_frm/thread/a96176dc9f3a83c9/ea6b8addfc702605#ea6b8addfc702605 It may help

Re: HttpServer as a Windows Service

2005-12-19 Thread David Pratt
Hi Ian. Thanks for your reply. It does, however I was looking at this from the perspective of running the small httpserver as its own service when Django is installed on a Windows machine for development. Is there any interest in this? Regards, David Ian Holsman wrote: doesn't Apache HTTP

Re: HttpServer as a Windows Service

2005-12-18 Thread Ian Holsman
doesn't Apache HTTP 2.0 run as a service on windows? On 12/19/05, David Pratt <[EMAIL PROTECTED]> wrote: > > I was doing a bit of searching today to see what I could dig up to > improve how the development server operates on Windows. I found this > which is pretty close to what I want to do. It c

HttpServer as a Windows Service

2005-12-18 Thread David Pratt
I was doing a bit of searching today to see what I could dig up to improve how the development server operates on Windows. I found this which is pretty close to what I want to do. It comes from Turbo Gears. Is there any interest from anyone else to help me implement the light development serv