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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:53:34+00:00 2026-06-05T12:53:34+00:00

I have mod_wsgi installed and everything works on my development server. I am running

  • 0

I have mod_wsgi installed and everything works on my development server. I am running centos and cant seem to figure out what to add to my httpd.conf. Is the mysite.com like my main url that I am going to be sending requests from? so should /path/to/mysite.com be /home/dbs/www? Lets assume my main domain is hello.com and is located at /home/dbs/www
My wsgi.py path is correct.

this is what I have so far

WSGIScriptAlias / /home/pycode/main/main/wsgi.py
WSGIPythonPath /path/to/mysite.com

<Directory /path/to/mysite.com/mysite>
<Files wsgi.py>
Order deny,allow
Allow from all
</Files>
</Directory>
  • 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-05T12:53:36+00:00Added an answer on June 5, 2026 at 12:53 pm

    Maybe you should go watch:

    http://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Conference_Presentations

    as an introduction and explanation of common problems.

    It does not cover the specifics though of how particular Linux distros reorganise the Apache configuration files compare to official Apache Software Foundation layout.

    Also, the presentation covers Django as configuration was done before 1.4. The general layout you have above is for Django 1.4 and so you will need to adjust what is covered in presentation to newer Django 1.4 way of doing things.

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

Sidebar

Related Questions

I have setup an Apache server with mod_wsgi, python_sql, mysql and django. Everything works
I have a development server set up running Apache 2.2 with mod_wsgi. I have
I have trac installed and running great using apache2 and mod_wsgi. However when ever
I have Django running in Apache via mod_wsgi. I believe Django is caching my
I have mod_python installed on my server, but if I want to acceses a
I have a PHP site setup on my server that also has mod_wsgi +
My setup is Django 1.2 running via mod_wsgi under Debian Lenny. I have a
I'm trying to setup Pylons (1.0) with Apache mod_wsgi. Everything works fine with mod_wsgi
I have installed Python 2.7 and mod_wsgi. I've added LoadModule wsgi_module modules/mod_wsgi.so to the
So have an ubuntu server with lamp installed. We installed webmin so we would

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.