dvance Posted May 28, 2013 Share Posted May 28, 2013 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? Quote Link to comment Share on other sites More sharing options...
Krydos Posted May 28, 2013 Share Posted May 28, 2013 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] Quote Link to comment Share on other sites More sharing options...
dvance Posted May 30, 2013 Author Share Posted May 30, 2013 Wow, I'm kind of slow sometimes...thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.