0
votes

I use Linux VPS to run my application for android API and use apache web server when the debug is true my app work completely, but when debug is false I can't access my media file and get an error this is my apache conf : enter image description here

and this is my setting.py: enter image description here

and this is my media location: enter image description here where is wrong and how to fix it debug false in my production and serve media file completely

1

1 Answers

0
votes

you should change your static directory permission. now Apache don't have access to your file. somting likechmod 777 -R static can help you.