Microsoft
Software
Hardware
Network
Question : Setup Django on Windows with Apache and MySQL
I am running Windows 7 64 bit OS
I have followed these steps:
http://enbeeone3.com/setup
-django-on
-windows-w
ith-apache
-and-
mysql
and everything tested out fine until the very end. I don't think I understood what he was saying to do here?
"Next we’ll need to actually create the django.wsgi WSGI application, so create a file “django.wsgi” and add:
import os, sys
sys.path.append('c:/wamp/w
ww/')
os.environ['DJANGO_SETTING
S_MODULE']
= 'testProject.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.
WSGIHandle
r()
Now restart Apache, and boom you should see your “It Worked” Page.
"
My questions:
- Create and put/save the "django.wsgi" file where? What folder?
-Is it ok I made this file with notepad and saved as "django.wsgi" (It shows as a WSGI file)
-See your "It Worked Page." How? What do I tpye in the browser to see this page?
-If I type htttp://localhost in a browser, now I get the '404 Page not found' error
-If I type
http://127.0.0.1:8000/
in a browser, now I get 'Intenet Explorer can not display the web page' error
TIA,
Deidre
Answer : Setup Django on Windows with Apache and MySQL
Go to Administration > Settings > Reading panel. Set which page will be designated the "front" page.
Random Solutions
SBS2008 - Exchange not receiving emails
How to set a MySql root user password that has not been set
switching networks on a cicso asa5510
linux security
DNS Server 2008 SBS errors
Raid 1 Rebuild Failed - Adaptec 1210SA
access to css 11503 using GUI
Change Username on SBS2008
XP Pro SP3 on Dell Inspiron 9400 notebook with OCZ SSD: BSOD 0xF4 after resume from standby
transfering a directory with multiple files in parallel