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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:58:31+00:00 2026-05-15T21:58:31+00:00

I just moved my site to an actual apache server (was developing locally before)

  • 0

I just moved my site to an actual apache server (was developing locally before) and the site can’t seem to find the urls.py file. basically what happens is that the homepage works, which is weird in itself considering that if i go to any url, e.g. website/about/, i will get a 404 error with text {'path': u'about/'}.

I tried ROOT_URLCONF set to mysite.urls and just urls, and if i move the urls.py it will continue to behave the same way.

I don’t know if its related but I also can’t seem to access my site media folder, it seems as though the server is still reading it in its old path, but the settings.py file is correct. (tried restarting apache, rebooting server, etc..)

  • 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-15T21:58:31+00:00Added an answer on May 15, 2026 at 9:58 pm

    I would be more worried about it not finding the media directory, that’s pure apache. If that part of the equation isn’t working, nothing else will. Work with apache’s httpd.conf until you can browse to the media directory correctly first.

    Update:

    I copied in my working conf file and substituted your values. Your django.root might need to be “” or not set at all, as I’ve found that it shouldn’t end with a /:

    <Location "/">
      SetHandler python-program
      PythonHandler django.core.handlers.modpython
      SetEnv DJANGO_SETTINGS_MODULE fikdusite.settings
      PythonOption django.root ""
      PythonDebug On
      PythonPath "['/django_apps/', '/django_apps/fikdusite/'] + sys.path"
    </Location>
    

    And make sure that the .profile of the user that apache runs your site as, has:

    export DJANGO_SETTINGS_MODULE='fikdusite.settings'
    export PYTHONPATH=$PYTHONPATH:/django_apps:/django_apps/fikdusite
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just moved a site from a dedicated server to a GoDaddy shared
I have just moved the dev site over to my linux server for production
I've just moved a Joomla 1.7 site to a new server. Administration back-end works
I have just moved a site from a Windows 2003, IIS6 SQL 2005 server
Just moved a site over to a new server and we started getting some
I just moved a site to Wordpress. The old sites urls for posts looked
I just moved my Wordpress site to a different server and url. All the
@ http://tinyurl.com/6mjd2nj I have a site that was just moved to a new server
I just moved another site to the server but URL Rewrite rules didn't work.
I've just moved a site across to a production server, and a once working

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.