Hi,
Last two days i am trying to set up django on my window machine.
I had installed
1>python25.msi on d drive(d:/Python25).
2>django at location :D:\Python25\Lib\site-packages\django.
It showing a successful message on IP : http://127.0.0.1:8000/
3>Apache 2.2
4>mod_python-3.3.1.win32-py2.5-Apache2.2.exe
Up to here its working fine.
But i am not able to configure Apache for python
I added following lines in httpd.conf file
LoadModule python_module modules/mod_python.so
<Location "/testproject">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE testproject.settings
PythonOption django.root /d:/projects/django/testproject
PythonDebug On
PythonPath "['/d:/projects/django/testproject', '/django'] +
sys.path"
</Location>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.