Django in Production with Apache Web Server (includes info about nginx, mod_wsgi, wsgi pre-loading)

preview_player
Показать описание
#production #apache #django #mod_wsgi #wsgi #nginx

Apache HTTP Server is without doubt one of the best web server available. In this screencast you will learn first of all why to consider apache for production, you will learn some important concepts which will ease you friendship with Apache and most importantly how to quickly deploy a django project with Apache Web Server.
Notice that in this screencast I use dev version of django settings i.e. DEBUG=True. On real production machine you must change that to DEBUG=False.
Рекомендации по теме
Комментарии
Автор

Eugen thx a lot. Your tutorial brought me further than other 90 min lessons although I run a slightly different system than you described. Saying your infos are made so generic that it is easy to transfer them. great background infos as well.

thorstengonschior
Автор

The way you explain why you do each step is super helpful. Thank you so much!

MahlerLab
Автор

What I liked the most of this tutorial is that some errors were intentionally generated to see the root cause of them. Good job and thanks!

rolandoriley
Автор

very good, very easy and very simple way to lean not simple topics.
thank you very much ❤

mahmoudshehata
Автор

Very nice lesson, thanks a lot. Clear and concise.

rahul
Автор

Great great video and information. Thank you.

npinc
Автор

забавно что хоть автор говорит на английском, ютуб распознает это как русский 🙃 и предлагает русские субтитры

dencasio
Автор

это отличное объяснение. спасибо. Стронг рашн аксент is funny too)

inrgdke
Автор

Please do a video on clustering and loadbalance with apache+mod_wsgi

pavanikarra
Автор

Thank you for your video! I have configured my website and put in in production. However, sometimes there's an error "Content-Length mismatch" for some images and browser cannot load them from the server but if you try to open the broken image on a new window you, you can see the image. What might cause this issue?

shukhratmirrakhimov
Автор

Thanks for the tutorial. Though I came across an issue: in my setup I get both the html source and the static files (an image and a css file), the contents are correctly rendered but the browser is stuck with "Transferring data from" as if it was still waiting for something else to arrive. As well, I cannot login as administrator, though I fill in the admin login form with the right credentials. This does not occur whenever a simple text is sent with "return HttpResponse" (no static files involved). And, as well, this does not occur if I use STATICFILES_DIRS instead of STATIC_ROOT and I resort to the "built-in" development server. Why? Thanks in advance!

andreagrillini
Автор

I'm using apache2 2.4.52 (ubuntu), and the file system is completely different
it uses a enable or available method

becunim
Автор

how can i access the pro video lecture on APACHE + mod_wsgi

AmitKumar-rcpv
Автор

hi how to run multiple django sites on mod_wsgi on xampp

qr
Автор

Question: I have Plesk panel and ubuntu 20.04 LTS version. Can I use this method? or Should I use passenger method ?

mustafaberker
Автор

Thank you. My only issue is that I can't find the modules directory in etc/apache2/ (I'm using Ubuntu)

simon
Автор

When I updated my python code it said "Apache WSGI Script Error"

manojmusings
Автор

can you send me the project github that your using for testing

nareshyanduri
Автор

However, in terms of microservices, apache2 and django are in different container. This would not work.

bombdrive
Автор

what happens when i hit python manage.py runserver??

KrishnaManohar