Re: Same application with different URLs

2009-09-05 Thread Graham Dumpleton
On Sep 5, 6:54 am, Petr Tuma wrote: > One more note, just if somebody else runs into this. > > Apparently, the problem with this solution is that under certain > conditions, SetEnv from one virtual host can be visible inside the > Python interpreter associated with another virtual host. Since >

Re: Same application with different URLs

2009-09-04 Thread Petr Tuma
One more note, just if somebody else runs into this. Apparently, the problem with this solution is that under certain conditions, SetEnv from one virtual host can be visible inside the Python interpreter associated with another virtual host. Since mod_python suggests not to use SetEnv, one should

Re: Same application with different URLs

2009-09-04 Thread Petr Tuma
Hi Andrew, > What is the error 500?  Is it the same error every time? I did not find any details in the logs and with DEBUG = True, the site starts behaving correctly. > Also, you have restarted apache?  Different apache processes could be > out of sync and running different django configs, thu

Re: Same application with different URLs

2009-09-04 Thread Andrew McGregor
> strangely unreliable. When both sites are used, an Error 500: Internal > server error is frequently returned (but mere repeated reloading of > the same page eventually gives a correct page). What is the error 500? Is it the same error every time? Also, you have restarted apache? Different ap

Same application with different URLs

2009-09-03 Thread Petr Tuma
Hello, I have a Django application that I need to appear on multiple Apache virtual hosts with different URLs (e.g. the same view would be accessible under http://one.site/view and under http://another.site/another/path/to/view). So far, I have tried to have multiple interpreter instances under