Re: Apache + Django - syntax error

2007-09-06 Thread David Reynolds
On 6 Sep 2007, at 11:06 am, b3n wrote: > I wasn't sure if the syntax was different for Unix/Windows. I think it > would be helpful if the tutorial made a statement to that effect. Surely not saying anything implies that there are no differences between the two? -- David Reynolds [EMAIL

Re: Apache + Django - syntax error

2007-09-06 Thread b3n
I wasn't sure if the syntax was different for Unix/Windows. I think it would be helpful if the tutorial made a statement to that effect. On 29 Aug, 23:39, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Aug 29, 11:06 pm, b3n <[EMAIL PROTECTED]> wrote: > > > Hey I managed to get Apache to find

Re: Apache + Django - syntax error

2007-08-29 Thread Graham Dumpleton
On Aug 29, 11:06 pm, b3n <[EMAIL PROTECTED]> wrote: > Hey I managed to get Apache to find Django! > > > SetHandler python-program > PythonHandler django.core.handlers.modpython > PythonPath "['C:\Python'] + sys.path" > SetEnv DJANGO_SETTINGS_MODULE bookmarks.settings >

Re: Apache + Django - syntax error

2007-08-29 Thread b3n
Ahh never mind. I hadn't started the MySQL server. Doh. --~--~-~--~~~---~--~~ 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

Re: Apache + Django - syntax error

2007-08-29 Thread b3n
Hey I managed to get Apache to find Django! SetHandler python-program PythonHandler django.core.handlers.modpython PythonPath "['C:\Python'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE bookmarks.settings PythonDebug On Now I get a nice Django-styled error instead of the

Re: Apache + Django - syntax error

2007-08-29 Thread b3n
Still says a syntax error when I navigate to http://localhost/ MOD_PYTHON ERROR ProcessId: 1420 Interpreter:'localhost' ServerName: 'localhost' DocumentRoot: 'C:/xampp/htdocs' URI:'/' Location: '/' Directory: None Filename: 'C:/xampp/htdocs/'

Re: Apache + Django - syntax error

2007-08-29 Thread daev
Try simple: PythonPath "C:\Python" --~--~-~--~~~---~--~~ 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

Apache + Django - syntax error

2007-08-29 Thread b3n
I'm trying to get Django working on my local Apache (v2). I'm on Windows XP. SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE bookmarks.settings PythonDebug On PythonPath "C:\Python\bookmarks" If I take out PythonPath I