This forum is no longer active. Please post your questions to our new community site
Change the root directory...?
|
|
Hi all, before I start I’d like to say this is awesome; I was trying to set up Django with IIS prior and that turned out very messy. I’m a bit new to Apache/Django so bear with me please. I used the installer to make a project titled “osqa.” I have a pre-existing project with the same name that I dragged over to the folder, modified the settings.py file, made the table in mysql and ran manage.py syncdb. My Django project loads, but not as I intend it to: The broken banner at the top points to: However, the banner lives here: So I have 2 questions. 1. How can I resolve this? I’ve read this thread: Any insight into this would be great. Thanks for reading! |
|
|
We are trying to reproduce it. |
|
|
Thank you for the response Beltrán. I’ve modified the django.conf file line with WSGIScriptAlias /osqa “C:\Program Files\BitNami DjangoStack/apps/django/conf/django.wsgi” Which leads me to a more desirable result: However, on that landing page there is a 404 error; which actually makes sense because the default landing page should be the tab labeled “questions.” The reason for this is that Django actually has not specified a page named “osqa,” which is what I believe is trying to be accessed at the moment. I have this “osqa” environment on a linux machine [without DjangoStack] and going to “http://localhost/osqa” shows an identical page. At this point, I believe I need to change the default landing page, mysite.com , to go to “questions” and hopefully everything will work. EDIT So I tried doing this again: And everything appears to work fine. Thanks for the support, I no longer need it in this respect. My next objective is to change the backend from mysql to SQL [this is a work thing that they asked me to specifically do]. I will post again if I need assistance. |
|
|
I’m glad to hear that! |

