Jump to content

Recommended Posts

Posted

I can get djangotest running on my site, and I'd like to build on it to get my Django site up and running. I was able to go to "http://<mydomain>/djangotest" and the django page came up.

 

However, I tried to give the djangotest directory a new name and edit the dispatch.wsgi to match the new name. When I went to "http://<mydomain>/<newname>", a server error page came up telling me that it couldn't find "/djangotest/dispatch.wsgi." Why is it thinking to look there? I don't know anything else that references it. Why didn't it go to the new directory name?

Posted

If you're using the Heliohost djangotest file you probably forgot to change the .htaccess file to match your new directory:

RewriteRule ^(.*)$ djangotest/dispatch.wsgi/$1 [QSA,PT,L]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...