Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
Just one more quick note. It has been quite a while since running these tests. The apache processes have tampered down to the original... however mod_wsgi is still sitting at 95MB for some odd reason. uWSGI has gone down to its original footprint. -Thadeus On Fri, Feb 26, 2010 at 1:22 AM, Th

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
typo on cherokee+uwsgi before testing total should be 31064 -Thadeus On Fri, Feb 26, 2010 at 1:21 AM, Thadeus Burgess wrote: > I did some interesting ab testing with cherokee / apache. Both > installed on the same server, running the exact same web2py app. My > apache only runs mod_wsgi, no

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
I did some interesting ab testing with cherokee / apache. Both installed on the same server, running the exact same web2py app. My apache only runs mod_wsgi, no ruby on this server! At server bootup, visiting the homepage of the app once for apache and once for cherokee, this is the RSS footprint

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
I was able to get the server started with my SSL pem files. It was quite easily actually, I just was only putting the path to the .pem file in one of the text boxes, not both. (silly me) Anyways, it seems that uwsgi does not pass the correct request.env.remote_addr. This is the relative informati

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
Actually, SSL is not out of the scope of this entry. How do you expect me to access admin, or appadmin for that matter? I can't use web2py without SSL :) I have tried everything but it just keeps giving me an error saying something is wrong with my .pem file, but not telling me "what" is wrong.

[web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread GrayMatterComputing
The guide is fine, it just needs to be Followed Step By Step without skipping. ;) I also figured the SSL and all was easy enough to find and, again, outside the scope of this entry. On Feb 25, 4:47 pm, Thadeus Burgess wrote: > The following packages are not installed by the PPA... > > cherokee-do

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
The following packages are not installed by the PPA... cherokee-doc libcherokee-mod-geoip libcherokee-mod-ldap libcherokee-mod-libssl libcherokee-mod-mysql libcherokee-mod-rrd libcherokee-mod-streaming Installing libcherokee-mod-libssl fixes this. Also they have a great article on creating and s

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
Don't forget to hit save :)0 And how to enable SSL, and use my self signed certificate, OR use a paid for certificate? -Thadeus On Thu, Feb 25, 2010 at 3:25 PM, Thadeus Burgess wrote: > Also, emphasis the fact of using the PPA method of installing, and > provide instructions on how to do t

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
Also, emphasis the fact of using the PPA method of installing, and provide instructions on how to do this, and a link to that page. The reason it was not working was I installed 0.99.19 instead of 0.99.43. -Thadeus On Thu, Feb 25, 2010 at 2:27 PM, Thadeus Burgess wrote: > A couple of suggest

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
A couple of suggestions with the slice Make a note, for building uwsgi, that there are makefile.py25 and others so that you can build it for the python version that you want. Do include the little ``ssh -L 9090:localhost:9090 remote_IP`` trick to securely connect to cherokee admin. I do not see

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-25 Thread Thadeus Burgess
Can I have cherokee uwsgi and apache mod_wsgi running on the same web2py code base or should I make a copy so cherokee can execute it ? You are right I could run cherokee on a non-standard port for testing and always switch it over when I am happy with it! -Thadeus On Wed, Feb 24, 2010 at 11

[web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-24 Thread GrayMatterComputing
@Thadeus For me, it was a breeze to switch from Apache to Cherokee. I was happy with Apache too, but I used the fact that a client wanted Cherokee as an opportunity to give it a try, and I am glad I did :) Besides, it is not like you would have to remove Apache to use Cherokee, so what are you wai

[web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-24 Thread mr.freeze
This is really helpful. Unfortunately, it will be lost on this mailing list in a month or so. Care to make a slice? http://www.web2pyslices.com/main/default/index On Feb 23, 2:56 pm, GrayMatterComputing wrote: > web2py with Cherokee via uWSGI: a simple, easy guide > (written specifically for Ubu

Re: [web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-23 Thread Thadeus Burgess
Yes the more I look into cherokee the more I wish I went with it instead of apache :) You can't beat a management console written in python :) -Thadeus On Wed, Feb 24, 2010 at 12:54 AM, GrayMatterComputing wrote: > uWSGI is not "apt-getable" for several reasons which are not really in > the

[web2py] Re: web2py with Cherokee via uWSGI: a simple, easy guide

2010-02-23 Thread GrayMatterComputing
uWSGI is not "apt-getable" for several reasons which are not really in the scope of this group. However, it is simple enough to download, make, and install. ;) >From my experience with Cherokee, it is extremely efficient in handling multiple platforms and quite easy to configure. I have not person