Re: integratin Django to an old site

2007-04-13 Thread sjol
Great!! this is better than I thought of working things out. Does it matter where I enter it in the httpd.conf file ? (ie should it be at the top ? ) Thank you Doug, I will also investigate your method, running php code with django's url handling can make things easier for some pages, especialy

Re: integratin Django to an old site

2007-04-12 Thread Niels
ehm... take 2: which has the same effect :$ On Apr 13, 1:16 am, "Niels" <[EMAIL PROTECTED]> wrote: > Things don't need be more complicated than neccessary: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: integratin Django to an old site

2007-04-12 Thread Niels
Things don't need be more complicated than neccessary: Apache config snippet: SetEnv DJANGO_SETTINGS_MODULE yourapp.settings SetHandler python-program PythonHandler django.core.handlers.modpython Which matches root, as well as some selected paths and everything

Re: integratin Django to an old site

2007-04-12 Thread [EMAIL PROTECTED]
sjol, this is fairly easy to do on some level. We have django integrated into a PHP site for the Python Conference: http://us.pycon.org/ All the django apps are under 1 root url '/apps07/' This is the easiest way to integrate things in the beginning. By having a specific root all the django

integratin Django to an old site

2007-04-12 Thread sjol
Hi, I would like to integrate Django to an "old" site. By this I mean that reworking the whole site from scratch will not be possible I have to change it piece by piece. But I would like the first piece to be the root but other parts of the URL would stay the same ( it is all php code or jsp ).