![]() I think this can be some kind of permission issue, but I can't figure it out exactly. This means that Python is running and mod_wsgi is fine. mod_wsgi (pid=9701): Python has shutdown. mod_wsgi (pid=9701): Terminating Python. mod_wsgi (pid=9701): Cleanup interpreter ''. mod_wsgi (pid=9701): Destroying interpreters. mod_wsgi (pid=9701): Stopping process 'myapp'. mod_wsgi (pid=9701): Shutdown requested 'myapp'. ![]() mod_wsgi (pid=9701): Adding '/var/django/myapp' to path. I enabled LogLevel info and the following lines appeared in myapp_error.log mod_wsgi (pid=9701): Attach interpreter ''. I checked some other config files like nf but found nothing related to 'html' folder. In Apache main config file, but I still get this messages. I deleted html folder and even commented out # ![]() As you can see, I configured apache to log errors to myapp_error.log, but it logs to regular error.log instead: AH01630: client denied by server configuration: /var/www/htmlĪlso, I don't understand why it says /var/www/html. I always use the exact same configuration for all my Django projects, but now, every time I go to, I get the 403 Forbidden page. WSGIDaemonProcess myapp python-home=/var/.virtualenvs/myapp python-path=/var/django/myappĮrrorLog /var/log/apache2/myapp_error.log WSGIScriptAlias / /var/django/myapp/myapp/wsgi.py I use Python 3.5 and mod_wsgi 3.5 (compiled manually for both my Python and Apache) I have successfully done this before a lot of times, this time I have no clue what is the problem. I can't configure apache 2.4 to run wsgi application on a clean Ubuntu 16.04 installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |