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 7798765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:05:23+00:00 2026-06-02T00:05:23+00:00

So far, I have set up mod_wsgi on Ubuntu server. Then, I got the

  • 0

So far, I have set up mod_wsgi on Ubuntu server.
Then, I got the famous hello world example working.

def application(environ, start_response):
    status = '200 OK'
    output = 'Hello World!'

    response_headers = [('Content-type', 'text/plain'),
                        ('Content-Length', str(len(output)))]
    start_response(status, response_headers)

    return [output]

So when the request comes at http:///
I get a page saying “Hello World!”
But I am stuck here and trying to figure out the next step.
Now, what I would like to do is for example, when
the request comes for

http://<ipaddress>/
http://<ipaddress>/create
http://<ipaddress>/index

I would like to let other classes answer depending on this request.

Just like in GAE, in main.py you can have something like

application = webapp.WSGIApplication[  
('/', Top),  
('/create',Create),  
('/index', Index), ]

Can someone guide me so that I can implement something like this?
Thank you for your help in advance.

Does anyone have eer implemented wsgi?
Should I just look into other frameworks source code?

  • 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-06-02T00:05:35+00:00Added an answer on June 2, 2026 at 12:05 am

    Does anyone have eer implemented wsgi? Should I just look into other frameworks source code?

    In broad terms you need to check the environment that’s been passed to you and process the URL related elements through a URL dispatch system of your creation.

    Or you use an existing framework.

    For a couple of purposes, I’ve considered writing WSGI directly, but so far for convenience’s sake I’ve always used a framework.

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

Sidebar

Related Questions

I have a small application in C#, and so far I have implemented it
the set the i have so far is: windows 7 64bit Apache 2.2.14/mysql/php 5.3.1
I have Django set up on my server at http://stevencampbell.org/ I want to be
I have Python 3.2 set up with Apache via mod_wsgi. I have CherryPy 3.2
I have set up RVM system-wide with Ruby 1.9.2 and as far as I
I have been set a task of natural language parsing in Prolog. So far
I have set up a 64 bit ubuntu env for compiling android tools (aapt,
I face the following problem in a cryptographical application: I have given a set
I am working on a Google Chrome extension and I have set up several
I have set a background image for a mobile page with mobile.jquery. So far

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.