On Thu, Jan 25 2018, Mark Sapiro wrote:
It's got a different name. It's in the above directory, at example_project/wsgi.py
Thank you. Unfortunately, it does not work...
First I tried with python-3 (installed package was "apache2-mod_wsgi-python3"), but I got this error:
Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module n...ration
Then, I tried with python-2 (installed package is now "apache2-mod_wsgi"), and this is the error message of apache:
mod_wsgi (pid=18880): Target WSGI script '/srv/www/htdocs/ckc3r/postorius/example_project/wsgi.py' cannot be loaded as Python module. mod_wsgi (pid=18880): Exception occurred processing WSGI script '/srv/www/htdocs/ckc3r/postorius/example_project/wsgi.py'. Traceback (most recent call last): File "/srv/www/htdocs/ckc3r/postorius/example_project/wsgi.py", line 16, in <module> application = get_wsgi_application() File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application django.setup() File "/usr/lib/python2.7/site-packages/django/__init__.py", line 17, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 48, in __getattr__ self._setup(name) File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 44, in _setup self._wrapped = Settings(settings_module) File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 92, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named settings
Could you help me please, to get Postorius working (and later also HyperKitty...)?
TIA for your efforts,
Peter