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

Поделиться
HTML-код
  • Опубликовано: 5 фев 2025
  • #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.

Комментарии •

  • @MahlerLab
    @MahlerLab 2 года назад +3

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

  • @rolandoriley
    @rolandoriley 11 месяцев назад +1

    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!

  • @thorstengonschior1184
    @thorstengonschior1184 4 года назад +8

    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.

  • @eng.robsoneduardo8142
    @eng.robsoneduardo8142 2 года назад +1

    The best explanation I had found.

  • @7999rahul
    @7999rahul Год назад

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

  • @mahmoudshehata9540
    @mahmoudshehata9540 2 года назад

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

  • @npinc9988
    @npinc9988 2 года назад

    Great great video and information. Thank you.

  • @ВиталийЮдин-т9ц
    @ВиталийЮдин-т9ц Год назад

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

  • @musicarroll
    @musicarroll Год назад

    Excellent! Thanks!

  • @dencasio6141
    @dencasio6141 2 года назад +5

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

  • @vipinkumarniranjan3052
    @vipinkumarniranjan3052 2 года назад

    Thanks for the tutorial!

  • @nugnoy8631
    @nugnoy8631 4 года назад +1

    another great video, thank you.

  • @abcdefg1492
    @abcdefg1492 4 года назад +2

    good video

  • @pavanikarra196
    @pavanikarra196 3 года назад +1

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

  • @creativeprogramming3788
    @creativeprogramming3788 Год назад

    Thanks sir 👍

  • @Pedroallesss
    @Pedroallesss 4 года назад

    Tks a lot from Brazil

  • @AboutCinemaTechnologies
    @AboutCinemaTechnologies 3 года назад

    It was very useful, thanks!

  • @becunim
    @becunim 2 года назад

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

  • @Chenard612
    @Chenard612 4 года назад

    Very helpful video, thank!

  • @mastrake
    @mastrake 4 года назад

    Well done!

  • @mustafaberker1453
    @mustafaberker1453 2 года назад

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

  • @manojmusings
    @manojmusings Год назад

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

  • @andreagrillini9261
    @andreagrillini9261 2 года назад

    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!

  • @simon1430
    @simon1430 4 года назад +1

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

  • @shukhratmirrakhimov2317
    @shukhratmirrakhimov2317 4 года назад +1

    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?

  • @AmitKumar-rc4pv
    @AmitKumar-rc4pv 4 года назад

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

  • @bombdrive3880
    @bombdrive3880 Год назад

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

  • @Jalan-Api
    @Jalan-Api 9 месяцев назад +1

    starts at 6:39, thank me later

  • @qr9529
    @qr9529 4 года назад

    hi how to run multiple django sites on mod_wsgi on xampp

  • @groove00
    @groove00 4 года назад

    ❤️ thanks bro

  • @ДмитрийСергеев-л6г
    @ДмитрийСергеев-л6г 2 года назад

    Thanks!!!

  • @SanteeRocks
    @SanteeRocks Год назад

    👏🏽

  • @nareshyanduri3867
    @nareshyanduri3867 4 года назад

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

  • @Human-de8nf
    @Human-de8nf Год назад

    Субтитры отпад12:42😂

  • @andrewryabchenko2407
    @andrewryabchenko2407 3 года назад

    You'r Russian Genius)

  • @KrishnaManohar8021
    @KrishnaManohar8021 4 года назад

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

    • @djangolessons4614
      @djangolessons4614  4 года назад

      You will have django's built-in web server running on port 8000. Because this is different port ( != 8001) it will not interfere with Apache Web Server. In other words, you will have two running web servers - one on port 8000 and other one on port 8001.

    • @KrishnaManohar8021
      @KrishnaManohar8021 4 года назад

      @@djangolessons4614 django use built-in web server?? its' already existing web server(like apache, Xamp, etc) or django own(there is any name)?

    • @djangolessons4614
      @djangolessons4614  4 года назад +1

      @@KrishnaManohar8021 yes, Django uses a buit-in web server. But it is not like Apache. It is suitable ONLY for local development and only with DEBUG=True. Don't use it in production.

    • @KrishnaManohar8021
      @KrishnaManohar8021 4 года назад

      @@djangolessons4614 thanks for the update.