Re: FIXED: Can't run django on Apache

2009-03-18 Thread Bro
What's the best way to do it ? I don't understand the official tutorial --~--~-~--~~~---~--~~ 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 unsub

Re: FIXED: Can't run django on Apache

2009-03-18 Thread Bro
Thanks Graham !! It works perfectly, you own :) Bro --~--~-~--~~~---~--~~ 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 g

Re: FIXED: Can't run django on Apache

2009-03-17 Thread Graham Dumpleton
Either way, their dango.root setting is wrong as they are setting it to physical file system path. Remove that whole django.root setting as you do not need it when mounting at root of site. The sooner people stop using mod_python the better. ;-) Graham On Mar 18, 12:41 pm, Karen Tracey wrote:

Re: FIXED: Can't run django on Apache

2009-03-17 Thread Karen Tracey
On Tue, Mar 17, 2009 at 1:54 PM, Bro wrote: > > [snip] > File "/var/lib/python-support/python2.5/django/core/handlers/ > base.py", line 44, in load_middleware >raise exceptions.ImproperlyConfigured, 'Middleware module "%s" > does not define a "%s" class' % (mw_module, mw_classname) > > Imp

Re: FIXED: Can't run django on Apache

2009-03-17 Thread Bro
Hi I've installed Django 1.02 on my dedibox. I'm trying to make .py file readable and executable. Apache, Python, Django are installed. We have many website : /var/www/mysite1 /var/www/mysite2 /var/www/mysite3 we have : /var/django/mysite1 /var/django/mysite2 We configure in /etc/apache2/site-a

Re: FIXED: Can't run django on Apache

2009-03-17 Thread Bro
The result is : SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonOption django.root /home/rex/django/mturk PythonDebug On PythonPath "['/home/rex/django/'] + sys.path"

FIXED: Can't run django on Apache

2009-03-15 Thread Rex
On Mar 14, 7:52 pm, Rex wrote: > On Mar 4, 12:47 pm, John Maines wrote: > > > > > Hello: > > > I've installed Django 1.0 on Ubuntu and am trying to get it to run on > >Apache.Apacheis installed, working fine, with mod-python also in > > place. I'm new at everything Linux. > > > But when I try