Cheap web hosting providers who only give you a directory to put stuff in are designed for running PHP applications and it isn't possible to use mod_wsgi with them as part of the common Apache instance as it isn't safe to use mod_wsgi in such shared virtual hosting providers with the way they do things.
If they provide a way of running separate long lived services (which is highly unlikely), then you might be able to use mod_wsgi-express to run a separate Apache/mod_wsgi instance, but this is still dependent on them providing a way to setup up a proxy definition in the front end Apache. Usually this isn't possible since can't do it from a .htaccess file alone. I would suggest you go look at a different hosting provider such as Heroku or Digital Ocean and get a more capable hosting system. Graham > On 9 Nov 2021, at 8:57 am, Daniel Leones <[email protected]> wrote: > > Hi, > > I need some assistance. I have a website which I need to deploy and I have > not worked with Apache before. > > I developed this website using Django 3.2 with a database and I dockerized. > The issue is the hosting provider only provides Apache in shared way, I mean, > I just have a folder to put the website files and there configure some files. > I just have the idea to write a `.htaccess` file. > > I know `mod_wsgi_express` can ease some details and tie my webapp with Apache. > > How can do this? > > Is it possible to use this shared Apache along with my dockerized app? How? > > Thanks, > Daniel > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/02767043-b15f-4fa1-a863-d9f7b09ac50cn%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/02767043-b15f-4fa1-a863-d9f7b09ac50cn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/02454A80-8A59-462C-92E0-5E2C615DB60B%40gmail.com.
