403 serving static files

2020-05-25 Thread `
Hi, I'm trying to serve static files using nginx, but nginx gives following error. - [error] 8202#8202: *10 open() "/home/user/myproject/media/xxx.jpg" failed (13: Permission denied) I've tried giving all users permission to this directory and it didn't change. What is the cause? I'm using

Re: deploying django project with mod_wsgi and apache

2020-05-17 Thread `
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. -- 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

Re: deploying django project with mod_wsgi and apache

2020-05-16 Thread `
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. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

deploying django project with mod_wsgi and apache

2020-05-16 Thread `
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",