On 31/01/2015, at 5:53 AM, Apollo Clark <[email protected]> wrote:
> I want to host multiple Flask apps under the same domain, ex: > example.com/app1 > example.com/app2 > > System configuration: > Ubuntu 14.04 TLS > Apache 2.4.7ubuntu4.1 > mod_wsgi 4.4.6 > Python 2.7.6 > > You can find my VirtualHost config here: > https://gist.github.com/apolloclark/3f0e52c527dc169fa982 > This configuration does not work. > > However, when I set: > WSGIScriptAlias / /var/www/app1/app1.wsgi > I am able to access: example.com/app1 > > I am not seeing any errors in the Apache logs file. Sorry for the slow reply on this one. Have managed to finally catch up. Now when you say: """It needs to be on a shared hosting machine, per a client's security requirements.""" what does that actually mean? Are you saying that there are over web applications and/or sites already being hosted on the same Apache installation. Normally on a shared hosting machine where there are multiple sites, they are separate using name based virtual hosts. For that to work each site must have its own unique host name. You say you cannot use a new sub domain, which if it is a traditional shared hosting environment, that would preclude it being used then. Can you therefore clarify whether the Apache instance is actually shared or whether you have complete control to do what you want with the Apache configuration and that the Apache instance can have sole access to port 443 for HTTPS connections. BTW, I use the term HTTPS meaning secure HTTP. To use the term SSL is actually a misnomer and SSL isn't actually used any more and TLS is used. It is therefore more correct to really refer to it as HTTPS. Graham -- 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 http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
