From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6986A138667 for ; Fri, 25 Jan 2013 01:05:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64D0521C0DA; Fri, 25 Jan 2013 01:05:22 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.3]) by pigeon.gentoo.org (Postfix) with ESMTP id 8DB6721C00E for ; Fri, 25 Jan 2013 01:05:20 +0000 (UTC) Received: from localhost ([87.156.139.208]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0LilAv-1Uacpm2wmL-00dPb8 for ; Fri, 25 Jan 2013 02:05:19 +0100 Date: Fri, 25 Jan 2013 02:04:53 +0100 From: Silvio Siefke To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Nginx with Python Message-Id: <20130125020453.1054de5031d7ce2781770e63@web.de> In-Reply-To: <5100B67D.8050206@nileshgr.com> References: <20130124010450.be8ae17b9dcea581a39138f1@web.de> <5100B67D.8050206@nileshgr.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.12; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:Ot3hAKrB0H4VYgUL2fb2wZiW/9HcNXk/xdk+8saDNH8 101BT8BOHlsF1S122w3y17+s6g1QEvmXnaIwux2BS9sJC1n5Lc xgs857600aWjqgQnYg4zMocOyZn6QbHMymjIqra3w4DEart/n8 ZR50MD4rjvFZgwyGTqRfjbwrD53+dsB/6cdRoKbYG5kFjwUHCc A4JalRsKTdo8YhqytLFMw== X-Archives-Salt: 5828fb3d-6f02-440b-9c3c-07e9266db01b X-Archives-Hash: 1e719b47281bf2cf8864d95ef070cdef Hello, On Thu, 24 Jan 2013 09:50:13 +0530 Nilesh Govindrajan wrote: > Have a look at uwsgi. It can run pretty much anything. Thanks i have do. I understand not why it not want run. The configuration for uwsgi: gentoo-mobile init.d # cat /etc/conf.d/uwsgi.pss | grep xml # The path to your uWSGI xml config file. UWSGI_XML_CONFIG=/etc/uwsgi.d/pss.xml gentoo-mobile init.d # cat /etc/uwsgi.d/pss.xml siefke siefke /tmp/python.siefke.sock 1 20 128 /var/www/python.silviosiefke.de/log/uwsgi.log gentoo-mobile init.d # cat /etc/nginx/sites/python_siefke.conf server { listen 80; server_name python.silviosiefke.de; access_log /var/www/python.silviosiefke.de/log/access_log main; error_log /var/www/python.silviosiefke.de/log/error_log info; index index.html; location / { include /etc/nginx/configuration/uwsgi_params; uwsgi_pass unix:///tmp/python.siefke.sock; uwsgi_param UWSGI_CHDIR /var/www/python.silviosiefke.de/apps; uwsgi_param UWSGI_PYHOME /var/www/python.silviosiefke.de/apps; uwsgi_param UWSGI_SCRIPT index; } location /static { alias /var/www/python.silviosiefke.de/htdocs; expires 7d; } } When i want run in webbrowser python.silviosiefke.de i become uWSGI Error Python application not found gentoo-mobile init.d # ls /var/www/python.silviosiefke.de/apps/ index.py index.pyc static Access Log: http://nopaste.info/8f9106d614.html uWsgi Log: http://nopaste.info/8881d2f097.html Has someone a idea? Thank you for help. Silvio