Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3324016
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:22:17+00:00 2026-05-17T23:22:17+00:00

I had no issue with Django + uWSGI + Cherokee. BUt I would like

  • 0

I had no issue with Django + uWSGI + Cherokee. BUt I would like to try pylons before committing to either framework.

I followed the tutorial from pylonshq.com – 1.0/gettingstarted

I ran into no problems when running pylons with paste.

So I used instructions to run pylons with uWSGI from projects.unbit.it – uwsgi/wiki/UsePaste

This is the source interpreter line I used with Cherokee (connection 127.0.0.1:5000):

uwsgi -s 127.0.0.1:5000 --paste config:/var/www/pylons/example/development.ini -H /var/www/pylons/ -M

My vServer in Cherokee is bokken.test.com with root directory:
/var/www/pylons/example/example/public
(I’ve tried with and without trailing slash)

My “Directory /” rule handler is set to the uWSGI source, but no root directory is set for the specific handler.

When I visit bokken.test.com, I get a redirect loop error.

Google Chrome:

The webpage at http://bokken.test.com// has resulted in too many redirects (Notice the extra slash).
Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

Error.log:

*** Starting uWSGI 0.9.5.4 (32bit) on [Sat Aug  7 19:01:51 2010] ***
compiled with version: 4.4.3
Python version: 2.6.5 (r265:79063, Apr 16 2010, 13:28:26) 
[GCC 4.4.3]
your memory page size is 4096 bytes
allocated 372 bytes (0 KB) for 1 request's buffer.
Setting PythonHome to /var/www/pylons/...
binding on TCP port: 5000
your server socket listen backlog is limited to 64 connections
initializing hooks...done.
Loading paste environment: config:/var/www/pylons/example/development.ini
application 0 (/) ready
setting default application to 0
spawned uWSGI master process (pid: 1278)
spawned uWSGI worker 1 (pid: 1280)
[pid: 1280|app: 0|req: 1/1] 192.168.0.198 () {52 vars in 926 bytes} [Sat Aug  7 19:01:55 2010] GET / => generated 433 bytes in 7 msecs (HTTP/1.1 301) 2 headers in 95 bytes (0 async switches on async core 0)

Unlike Django, none of the tutorials I found specify a uwsgi.xml or .wsgi script.
I’m not sure what needs to change.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:22:17+00:00Added an answer on May 17, 2026 at 11:22 pm

    You say that you’ve set the file root of the Cherokee vServer to the /example/public directory of your Pylons project. That seems likely to be a problem – Pylons looks in the public directory for files to serve before attempting to match a controller, so you’re setting yourself up for future issues there. The root folder of the Pylons app should probably be where you point the vServer at, and let Pylons handle its own chunk of the directory tree.

    Also, you will definitely need a .wsgi script – the last bit of your question implies that you don’t have one? It’s a little confusing – please clarify.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running into an issue I had before; can't find my reference on
I know this isn't a unique issue but I've not had much luck finding
A coworker of mine has had issue with Mootools being backward compatible and I
(Jeopardy-style question, I wish the answer had been online when I had this issue)
I've had a serious issue with my Visual Studio 2008 setup. I receive the
I've had this long term issue in not quite understanding how to implement a
I recently resolved an issue my VB6 application had when saving large binary objects
We have had issues with Mootools not being very backward compatible specifically in the
I upgraded from SQl server 05 to 08 and had a few issues. After
Has anyone had luck with removing large amount of issues from a jira database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.