I have apache installed on linux with mod_php, mysql. I am trying to
get django working here, and am following the intsallation steps at
http://www.djangobook.com/en/beta/chapter21/ .
Step 1. Install mod_python
did yum install mod_python. Checked that mod_python is installed.
Step 2.
Add this to your httpd.conf
<Location "/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE mysite.settings
    PythonDebug On
</Location>
I am *very* confused here, I have only installed mod_python, and
nothing specific to django. SO how would the line
 PythonHandler django.core.handlers.modpython work?
And what do I specify in
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
If my site is under /var/www/html/python, with the settings file as /
var/www/html/python/foo/settings.py should I write,
SetEnv DJANGO_SETTINGS_MODULE foo.settings
(or) SetEnv DJANGO_SETTINGS_MODULE python.foo.settings


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to