Would need to see the VirtualHost definition including what is in it. Also, was that VirtualHost in its own file in the sites-available directory and was it enabled so that it is linked into the sites-enabled directory and would be found.
Graham > On 24 Jun 2018, at 7:55 am, 'Rajeev Jain' via modwsgi > <[email protected]> wrote: > > background: my system is Ubuntu16.04 LTS running on a home network behind a > firewall. Apache2 server is installed and successfully hosting 3 virtual > hosts using ports 80, 81, 82. These 3 sites are working 100% fine. My > objective is to setup a 4th virtual host using mod_wsgi for serving a > python3.6 based Flask Application. > > After many trials and tribulations the 4th virtual host is now partially > working...the site is successfully served when using the curl command but the > site is not accessible when using a browser. > > Here is the tutorial I used: > https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps > > <https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps> > > > Here are my test results: > > Using curl: > curl http://192.168.1.14:83 <http://192.168.1.14:83/> > Hello, this is running from flasK! > > > Using a browser: > > <PastedGraphic-1.png> > > > > I just rebooted my server and now the 4th virtual host is not even working > with curl. Are there any out who have this desired configuration working? > > I relatively confident the python3.6 and the mod_wsgi modules are correctly > installed and some configuration settings are not correct. > > Any guidance or trouble-shooting steps would be greatly appreciated. I’m > happy to provide any kind of details required to get this working. > > TIA, > —Rajeev > > > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/modwsgi > <https://groups.google.com/group/modwsgi>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
