I am getting the following error while deploying the application using mod_wsgi
[Thu Apr 07 11:23:32 2011] [error] [client localhost] IOError: [Errno 13] Permission denied: '/var/www/vhosts/myproject/myproject.log'
It is a bad idea to put the log folder within the project folder. The process that apache uses should never have write permissions to your project folder. Put it in a /tmp/
folder or the like.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With