[modwsgi] Wordpress & Flask sitewide implimentation

2020-09-10 Thread Gordon Charles
I've been trying to create a .conf file which would simultaneously support Wordpress and Flask (I have some flask apps which run as part of an embedded solution and would like for others to be able to drive the application in a simulation mode and like the idea of having a site wide

Re: [modwsgi] Wordpress & Flask sitewide implimentation

2020-09-10 Thread Graham Dumpleton
Only WSGIRestrictEmbedded needs to be outside of the VirtualHost. Leave everything else you may have inside of the VirtualHost. > On 11 Sep 2020, at 8:17 am, Gordon Charles wrote: > > I've been trying to create a .conf file which would simultaneously support > Wordpress and Flask (I have some

Re: [modwsgi] Wordpress & Flask sitewide implimentation

2020-09-10 Thread Graham Dumpleton
What is the ServerName/ServerAlias for the wordpress VirtualHost? It is different right? > On 11 Sep 2020, at 10:00 am, Gordon Charles wrote: > > Graham, > > Thanks for the quick reply. I am striving to work independently here. I've > made the modification, wordpress, is still not loading

Re: [modwsgi] Wordpress & Flask sitewide implimentation

2020-09-10 Thread Gordon Charles
Graham, No it is not different. My understanding having read your post Graham Dumpleton Post , was that when configured Apache would dynamically route requests to either the .php or through wsgi based upon the file

Re: [modwsgi] Wordpress & Flask sitewide implimentation

2020-09-10 Thread Gordon Charles
Graham, I genuinely appreciate your help and patience; however, I believe we may be struggling to communicate. To be clear the .conf file I provided is the one, only and the complete contents of the .conf file. To be clear, yes I would like the site(s) to be under the same address/port and

Re: [modwsgi] Wordpress & Flask sitewide implimentation

2020-09-10 Thread Graham Dumpleton
You can't have two VirtualHosts for same port with same ServerName. Apache will always use the first matching one it finds when doing named based virtual hosting. If you want both sites to be under the same host name, the configuration for each must be combined under the one VirtualHost

Re: [modwsgi] Wordpress & Flask sitewide implimentation

2020-09-10 Thread Gordon Charles
Graham, Thanks for the quick reply. I am striving to work independently here. I've made the modification, wordpress, is still not loading and have the following in the error.log file: [Thu Sep 10 23:53:15.963956 2020] [mpm_prefork:notice] [pid 40224] AH00163: Apache/2.4.41 (Ubuntu)

Re: [modwsgi] Wordpress & Flask sitewide implimentation

2020-09-10 Thread Graham Dumpleton
Is there is a reason why use of mod_rewrite is disabled by not setting FollowSymLinks and SymLinksIfOwnerMatch. Can only presume then that is due to that. > On 11 Sep 2020, at 1:29 pm, Gordon Charles wrote: > > Graham, > > I genuinely appreciate your help and patience; however, I believe we