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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:31:06+00:00 2026-06-12T09:31:06+00:00

In my django project using mod_wsgi 3.4 and apache, all 404 pages are not

  • 0

In my django project using mod_wsgi 3.4 and apache, all 404 pages are not returned as a 404 error, but as a 500 server error:

When debug is set to true, it returns a 404 error, django’s.

Page not found (404)
Request Method: GET
Request URL: ..
No Model matches the given query.
You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

Can anyone else who has experienced this problem before give some pointers or guides for fixing this issue?

Thank you.

  • 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-12T09:31:06+00:00Added an answer on June 12, 2026 at 9:31 am

    This probably is not a mod_wsgi bug.

    Please make sure you have a 404.html file in your ‘templates’ folder. If Django cannot locate a template for the 404 error, it serves up an Internal 500 error.

    Note: If this doesn’t solve the error, please take a look at this page on how to make a 404 error page work.

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

Sidebar

Related Questions

In my Django project I am using Product.objects.all().order_by('order') in a view, but it doesn't
I am working on a Silverlight project that uses Django on the server using
I am trying to create very first project using django but stuck at very
I have Django installed on a corporate intranet, running on Apache using mod_wsgi. The
Trying to deploy a Django 1.4 project using mod_wsgi and virtualenv, i'm running into
I'm trying to deploy django using wsgi . But its not working. Will you
The app runs fine using django internal server however when I use apache +
I would like to run a Django project on a server using virtualenv in
I'm configuring a Django project that were using the server filesystem for storing the
I need some opinions here. I'm working on a Django project using buildout to

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.