Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Issue 569 in cherokee: POST form and file with cherokee and uWSGI

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Sep 8, 2009, 11:00 AM

Post #1 of 4 (412 views)
Permalink
Issue 569 in cherokee: POST form and file with cherokee and uWSGI

Status: New
Owner: ----

New issue 569 by yann.malet: POST form and file with cherokee and uWSGI
http://code.google.com/p/cherokee/issues/detail?id=569

I have installed and configured both cherokee 0.99.24 and uWSGI changeset
50:23625ccfc092

The installation process has been smooth and simple however I encouter an
issue when I try to POST to an URL. For example I cannot login to the
django admin.

Here it is a copy of my configuration :

------ django_wsgi.py ------------------
import os
import django.core.handlers.wsgi

os.environ['DJANGO_SETTINGS_MODULE'] = 'project.settings'
application = django.core.handlers.wsgi.WSGIHandler()
------------------------------------------------

------------------- uwsgi.conf --------------------
<uwsgi>
<pythonpath>[full path to ]/ve/lib/python2.6/site-packages/</pythonpath>
<app mountpoint="/">
<script>django_wsgi</script>
</app>
</uwsgi>
--------------------------------------------------------

Then I have added a information source in cherokee admin with the following
caracteristique :

--------------------------------------------------
type : local interpreter
nick : uwsgi test
connection : 127.0.0.1:3030
interpreter : uwsgi26 -s 127.0.0.1:3030 -x
/home/yml/workdir/fabric_factory/fabric_factory/src/project/uwsgi.conf
--------------------------------------------------------

In the "default" virtual server I have added a new rule :
---------------------
target : /
type : directory
handler : uwsgi
information sources : the one describe above
--------------------------

This setup allows me to GET URL but to not POST form nor file to them.
Please do not hesitate to let me know if you need more information to debug
this situation. Has of know I am not sure if the bugs is in uWSGI or in the
handler.

Regards,
--yml


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 10, 2009, 12:11 AM

Post #2 of 4 (376 views)
Permalink
Issue 569 in cherokee: POST form and file with cherokee and uWSGI [In reply to]

Updates:
Status: Fixed
Owner: alobbs

Comment #1 on issue 569 by alobbs: POST form and file with cherokee and
uWSGI
http://code.google.com/p/cherokee/issues/detail?id=569

This issue has been already fixed by Roberto:

http://svn.cherokee-project.com/changeset/3647

Yml, thanks for reporting!! :)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 10, 2009, 7:21 AM

Post #3 of 4 (369 views)
Permalink
Issue 569 in cherokee: POST form and file with cherokee and uWSGI [In reply to]

Comment #2 on issue 569 by yann.malet: POST form and file with cherokee and
uWSGI
http://code.google.com/p/cherokee/issues/detail?id=569

np, I since I was at djangocon I was planning to show off and do a
lightning talk on
how to run django on cherokee and uWSGI. This explain why I have been doing
a bit of
testing.

However I realized that this solution is not yet ready for prime time so I
will
probably do blog post as soon as cherokee release a new version that
include this fix.

Regards,
--yml

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Sep 10, 2009, 8:11 AM

Post #4 of 4 (376 views)
Permalink
Issue 569 in cherokee: POST form and file with cherokee and uWSGI [In reply to]

Comment #3 on issue 569 by alobbs: POST form and file with cherokee and
uWSGI
http://code.google.com/p/cherokee/issues/detail?id=569

Brian Roster is also attending; he also contributed with the project a
while ago. If
you meet him, please greet him for me.

BTW, showing Cherokee (uWSGI and/or the Django wizard) would help us a lot
to promote
the project, and that's what we need the most. Give that lighting talk,
coooome on! ;-)

Enjoy the conference; cheers!


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.