I get the following error when deploying an 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βs a bad idea to put the log folder in the project folder. A process that uses apache should never have write permissions to the project folder. Put it in the /tmp/ folder or the like.
/tmp/
Reading:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Access_Rights_Of_Apache_User
for information about the access rights of the user for whom the application will work when using Apache / mod_wsgi.
Source: https://habr.com/ru/post/1347043/More articles:PHP Escaping query string variables - phpWhy is my JScrollPane not showing with JTextArea when using null LayoutManager? - javaF # Compiler Questions - compiler-optimizationThe problem of weird matching using LINQ to SQL - c #Rails 3 Select the default value for the menu when editing an entry - selectCannot get nested form using has_one association - ruby-on-railsIs it possible to pass a python string by reference via ctypes? - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1347046/hidden-workflow-arguments-to-systemactivitiesactivitybuilder&usg=ALkJrhiqQtPAeDalqEcgoHpiJ02y1mXGRgIs JSON better than partial views for all uses in ASP.NET MVC? - jsonHow to start the CPU at a given load (% of CPU usage)? - c #All Articles