Re: Seperate project in a subdirectory (Apache 2.2 & mod_python)

2008-07-15 Thread Chris H.
I dunno what's different, but I seem to have it working today. Maybe I didn't restart Apache (I can be prone to dumb mistakes). Here's the final httpd.conf: SetHandler python-program PythonPath "['C:/django-projects'] + sys.path" PythonHandler django.core.handlers.modpython Se

Re: Seperate project in a subdirectory (Apache 2.2 & mod_python)

2008-07-15 Thread Chris H.
On Jul 15, 12:30 pm, V <[EMAIL PROTECTED]> wrote: > First of all Apache will look through all the directives, > and the later ones overwrite the former ones. So you should definitely > put the more precise one at the bottom. > > Probably your media files work, because you've added something like

Re: Seperate project in a subdirectory (Apache 2.2 & mod_python)

2008-07-15 Thread V
First of all Apache will look through all the directives, and the later ones overwrite the former ones. So you should definitely put the more precise one at the bottom. Probably your media files work, because you've added something like urlpatterns += patterns('', (r'^media/(?P.*)$',

Re: Seperate project in a subdirectory (Apache 2.2 & mod_python)

2008-07-15 Thread Chris H.
On Jul 14, 8:23 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > What order are you including them in the Apache configuration? > > Have you tried switching the order? > > Graham I have tried. I thought if I placed the testproject directive first it would short circuit things, but it didn't see

Re: Seperate project in a subdirectory (Apache 2.2 & mod_python)

2008-07-14 Thread Graham Dumpleton
What order are you including them in the Apache configuration? Have you tried switching the order? Graham On Jul 15, 7:50 am, "Chris H." <[EMAIL PROTECTED]> wrote: > Trying to run a separate Django project in a sub-directory while the > main project runs in the root.  I'm using Apache 2.2 andmo