Re: How to install django on Apache/Linux

2007-08-19 Thread Graham Dumpleton
On Aug 19, 11:04 pm, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > 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 > > (o

Re: How to install django on Apache/Linux

2007-08-19 Thread Chris Hoeppner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > 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 Python imports stuff ba

Re: How to install django on Apache/Linux

2007-08-18 Thread James Bennett
On 8/19/07, shabda <[EMAIL PROTECTED]> wrote: > 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? If you have Django installed on the server and on the Python path, it will wor

How to install django on Apache/Linux

2007-08-18 Thread shabda
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 y