deploying django project with mod_wsgi and apache

19 views
Skip to first unread message

みやうち`

unread,
May 16, 2020, 9:07:54 PM5/16/20
to Django users
I got completely stuck deploying django to production.

I deployed my project using apache and mod_wsgi, and then it hangs I access it with browser.
Neither django nor apache gives me any errors at all, so I can't guess the cause of problem.
Since it can be accessed by starting with "runserver",
I think there's nothing wrong with the project.
Also, I can access it successfully when I deployed a simple test app with apache and mod_wsgi,
I think there is no problem with the configuration of apache, mod_wsgi and my server.

It would be very helpful if you give me any idea of the cause or way of investigate it.

My environment
django : 2.1.15
mod_wsgi : 4.7.1
apache : 2.4.6

Kurosh Sol

unread,
May 16, 2020, 11:37:09 PM5/16/20
to django...@googlegroups.com
what is your server 
as you are Japanese might be use server or sakura?


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8d332ddf-ae69-4716-8107-daf69eff1497%40googlegroups.com.

みやうち`

unread,
May 16, 2020, 11:50:06 PM5/16/20
to Django users
AWS EC2 with Linux.
Since deployment of "polls" app works fine, I think there is no problem with server...
But django and apache give no error about my app.

みやうち`

unread,
May 17, 2020, 6:50:23 PM5/17/20
to Django users
I found out part of my code has problem, althogh I don't know why it didn't output an error.

Anyway, thank you for reply.
Reply all
Reply to author
Forward
0 new messages