Re: [modwsgi] Multiple Django Sites. Apache2. Mod_wsgi.

2019-02-22 Thread utest342
Yes, Graham, you're absolutely right about '/'! It must be there! My bad! So, here is the final variant of .conf file with two Django sites: WSGIRestrictEmbedded On WSGIDaemonProcess site1

Re: [modwsgi] Multiple Django Sites. Apache2. Mod_wsgi.

2019-02-22 Thread utest342
Yes, Graham, you're absolutely right about '/'! It must be there! My bad! So, here is the final correct variant of .conf file with two Django sites: == WSGIRestrictEmbedded On

Re: [modwsgi] Multiple Django Sites. Apache2. Mod_wsgi.

2019-02-21 Thread Graham Dumpleton
Yeah, forgot to check the /static. See note below though. > On 21 Feb 2019, at 11:52 pm, utest...@gmail.com wrote: > > Yes, now both sites are working! Thank you very much for your help, Graham! > > For those who will have similar situation as mine here is additional info. > > After I've

Re: [modwsgi] Multiple Django Sites. Apache2. Mod_wsgi.

2019-02-21 Thread utest342
Yes, now both sites are working! Thank you very much for your help, Graham! For those who will have similar situation as mine here is additional info. After I've corrected .conf file as Graham had advised me, I ran into another problem: site1 works correctly, site2 loads without static files,

Re: [modwsgi] Multiple Django Sites. Apache2. Mod_wsgi.

2019-02-21 Thread utest342
Yes, now both sites are working! Thank you very much for your help, Graham! For those who will have similar situation as mine here is additional info. After I've corrected .conf file as Graham had advised me, I ran into another problem: site1 works correctly, site2 loads without static files,

Re: [modwsgi] Multiple Django Sites. Apache2. Mod_wsgi.

2019-02-19 Thread Graham Dumpleton
Unless you set ServerName in each VirtualHost with a different host name, and access them as different host name in URL, you will need to have both sites at the separate sub URLs defined in the same VirtualHost, not separate ones. WSGIRestrictEmbedded On WSGIDaemonProcess