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

  • SEARCH
  • Home
  • 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 916519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:04:00+00:00 2026-05-15T18:04:00+00:00

CherryPy claims: Your CherryPy powered web applications are in fact stand-alone Python applications embedding

  • 0

CherryPy claims:

Your CherryPy powered web applications
are in fact stand-alone Python
applications embedding their own
multi-threaded web server. You can
deploy them anywhere you can run
Python applications. Apache is not
required, but it’s possible to run a
CherryPy application behind it (or
lighttpd, or IIS). CherryPy
applications run on Windows, Linux,
Mac OS X and any other platform
supporting Python.

Having come from PHP and wanting to learn Python, I came upon a thread here in SO while looking for a webserver I can setup to start Python web development. However, after almost googling myself to death, I can’t still find one. I came across entries like “Django has its own lightweight webserver” and the aforementioned Cherrypy.

What I am confused about is this :I was used to using XAMPP, where I have a web server, a database server and my application and I can’t visualize the idea of a “web server inside the application itself”. How do I connect to my database server then? How do I configure stuff like custom urls and directory protection (much like what I do in Apache)?

Thanks in advance guys!

  • 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-15T18:04:00+00:00Added an answer on May 15, 2026 at 6:04 pm

    Apache is a large, rich, powerful and complicated webserver — you can configure everything and a half, there are many plug-in modules (all the various mod_this, mod_that, etc), and so forth. That’s great, but of course there are niches for smaller, lighter webservers as well — lighttpd (which your cherrypy quote mentions) is an example of one, focusing on speed and simplicity; cherrypy is another, focusing on simplicity and Python support.

    Of course you can still configure several aspects, see the tutorial section about the configuration files for a short overview, the reference for more details — but it won’t be anywhere as rich as Apache (hey, few webservers are, except maybe IIS;-). Probably some configuration options that you may feel are missing may be easily compensated with Python code, but not all — that’s why you may want to run cherrypy “behind” other servers!

    The way you code your Python web apps need not be constrained by the web server you’re using: just program to the WSGI standard (and that’s what just about all web app frameworks these days support), and your deployment options are boundless — from cherrypy, or even just the reference wsgi implementation that comes with the Python standard library (only recommended for development!-), all the way to Apache with mod_wsgi, IIS, even Google App Engine (it supports WSGI, too!-).

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

Sidebar

Ask A Question

Stats

  • Questions 488k
  • Answers 488k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can setup a cron job to execute sendmail at… May 16, 2026 at 8:35 am
  • Editorial Team
    Editorial Team added an answer Should have inspected the body of the resp: <Message>The 'to'… May 16, 2026 at 8:35 am
  • Editorial Team
    Editorial Team added an answer In Clojure, the atom predicate isn't so important because Clojure… May 16, 2026 at 8:35 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

No related questions found

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.