Dear Graham, Thank you for your time! The problem is solved after I add a ServerName directive to each VirtualHost section.
Thanks, Jason On Nov 5, 5:42 pm, Graham Dumpleton <graham.dumple...@gmail.com> wrote: > On Nov 5, 5:49 pm, Jason <chao...@gmail.com> wrote: > > > I have 2 projects, and I want to visit project1 at:http://localhost:8080/, > > and visit project2 athttp://localhost:8088/. > > I am not sure if there is a way to do it, but I really need it. I > > really appreciate if there are any ideas. > > Which part of: > > http://docs.djangoproject.com/en/dev/howto/deployment/modpython/ > > don't you understand? > > Probably the only bit that isn't clear is that mod_python does assign > distinct sub interpreters for different ports for same ServerName > value in VirtualHost. You therefore need to set PythonInterpreter > explicitly to different values in each VirtualHost. Doing this is > explained in that document, but it only says 'in different VirtualHost > blocks that share the same server name', which most wouldn't likely > understand to mean different listener ports. > > Graham --~--~---------~--~----~------------~-------~--~----~ 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 to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---