Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. [wsgi:info] [pid 21407] mod_wsgi (pid=21407): Python home /var/www/myproject/myenv.
  2. [wsgi:info] [pid 21407] mod_wsgi (pid=21407): Initializing Python.
  3. Fatal Python error: Py_Initialize: Unable to get the locale encoding
  4. ModuleNotFoundError: No module named 'encodings'
  5.  
  6. LoadModule wsgi_module /usr/lib64/httpd/modules/mod_wsgi.so
  7.  
  8. WSGIRestrictEmbedded On
  9.  
  10. WSGIPythonHome /var/www/myproject/myenv
  11.  
  12. WSGIScriptAlias / /var/www/myproject/myproject/wsgi.py process-group=sgcdjango.com
  13. WSGIDaemonProcess sgcdjango.com python-home=/var/www/myproject/myenv
  14. WSGIProcessGroup myapp.com
  15. WSGIApplicationGroup %{GLOBAL}
  16.  
  17. <Directory /var/www/myproject/myapp/>
  18. <Files wsgi.py>
  19. Allow from all
  20. Require all granted
  21. </Files>
  22. </Directory>
  23.  
  24. Alias /static/ /var/www/myproject/static/
  25.  
  26. <Directory /var/www/myproject/static>
  27. Require all granted
  28. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement