Apache 2.4 config for askbot 0.11.x
Hi, I try to set up an askbot 0.11.x (more precise 0.11.8). I have askbot 0.11.8 and apache 2.4 installed in a docker container.
After running
askbot-setup -r /opt/b2-askbot --proj-name b2-askbot --admin-name "Matthias Schnepf" --admin-email "matthias.schnepf@kit.edu" --db-engine=sqlite --db-name askbot-db --force --noinput
python manage.py migrate
python manage.py collectstatic
python manage.py makemigrations
python manage.py migrate
I can run the website with python manage.py runserver
hostname -i:8000
However, when I use my apache config, based on the example, I get first a Forbidden
in my browser. That can be fixed by adding
<Location />
require all granted
</Location>
in the Apache config and downloading the django.wsgi from the askbot GitHub.
However, now the website does not load, and in the Apache log I just see:
[Fri Jun 07 14:10:34.598309 2024] [wsgi:debug] [pid 463:tid 139732459718208] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 0 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598328 2024] [wsgi:debug] [pid 463:tid 139732449232448] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 1 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598362 2024] [wsgi:debug] [pid 463:tid 139732438746688] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 2 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598417 2024] [wsgi:debug] [pid 463:tid 139732428260928] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 3 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598454 2024] [wsgi:debug] [pid 463:tid 139732417775168] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 4 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598500 2024] [wsgi:debug] [pid 463:tid 139732407289408] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 5 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598526 2024] [wsgi:debug] [pid 463:tid 139732396803648] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 6 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598591 2024] [wsgi:debug] [pid 463:tid 139732386317888] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 7 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598611 2024] [wsgi:debug] [pid 463:tid 139732375832128] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 8 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598648 2024] [wsgi:debug] [pid 463:tid 139732365346368] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 9 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598696 2024] [wsgi:debug] [pid 463:tid 139732354860608] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 10 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598756 2024] [wsgi:debug] [pid 463:tid 139732344374848] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 11 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598784 2024] [wsgi:debug] [pid 463:tid 139732333889088] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 12 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598819 2024] [wsgi:debug] [pid 463:tid 139732323403328] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 13 in daemon process 'askbot2'.
[Fri Jun 07 14:10:34.598862 2024] [wsgi:debug] [pid 463:tid 139732312917568] src/server/mod_wsgi.c(9142): mod_wsgi (pid=463): Started thread 14 in daemon process 'askbot2'.
[Fri Jun 07 14:10:45.308887 2024] [authz_core:debug] [pid 464:tid 139732396803648] mod_authz_core.c(815): [client 10.0.0.1:56110] AH01626: authorization result of Require all granted: granted
[Fri Jun 07 14:10:45.308916 2024] [authz_core:debug] [pid 464:tid 139732396803648] mod_authz_core.c(815): [client 10.0.0.1:56110] AH01626: authorization result of <RequireAny>: granted
[Fri Jun 07 14:10:45.308982 2024] [authz_core:debug] [pid 464:tid 139732396803648] mod_authz_core.c(815): [client 10.0.0.1:56110] AH01626: authorization result of Require all granted: granted
[Fri Jun 07 14:10:45.308988 2024] [authz_core:debug] [pid 464:tid 139732396803648] mod_authz_core.c(815): [client 10.0.0.1:56110] AH01626: authorization result of <RequireAny>: granted
[Fri Jun 07 14:10:45.316106 2024] [wsgi:info] [pid 463:tid 139732459718208] mod_wsgi (pid=463): Create interpreter 'askbot.belle2.org|'.
[Fri Jun ...
Comments