Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [wsgi:info] [pid 21407] mod_wsgi (pid=21407): Python home /var/www/myproject/myenv.
- [wsgi:info] [pid 21407] mod_wsgi (pid=21407): Initializing Python.
- Fatal Python error: Py_Initialize: Unable to get the locale encoding
- ModuleNotFoundError: No module named 'encodings'
- LoadModule wsgi_module /usr/lib64/httpd/modules/mod_wsgi.so
- WSGIRestrictEmbedded On
- WSGIPythonHome /var/www/myproject/myenv
- WSGIScriptAlias / /var/www/myproject/myproject/wsgi.py process-group=sgcdjango.com
- WSGIDaemonProcess sgcdjango.com python-home=/var/www/myproject/myenv
- WSGIProcessGroup myapp.com
- WSGIApplicationGroup %{GLOBAL}
- <Directory /var/www/myproject/myapp/>
- <Files wsgi.py>
- Allow from all
- Require all granted
- </Files>
- </Directory>
- Alias /static/ /var/www/myproject/static/
- <Directory /var/www/myproject/static>
- Require all granted
- </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement