mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
apache: Use cgid module instead of cgi
Trying to enable cgi module results in cgid being enabled. Checking for cgi being enabled always results in failure. Your MPM seems to be threaded. Selecting cgid instead of cgi. Module cgid already enabled No module matches cgi (disabled by site administrator) This is the reason why installing ikiwiki was causing Apache restart even though the modules required by ikiwiki are already enabled. Closes: #1448. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
3af207a4e8
commit
7bdf47eea2
@ -139,7 +139,8 @@ def subcommand_setup(arguments):
|
||||
|
||||
# enable some critical modules to avoid restart while installing
|
||||
# FreedomBox applications.
|
||||
webserver.enable('cgi', kind='module')
|
||||
webserver.disable('cgi', kind='module') # For process MPMs
|
||||
webserver.enable('cgid', kind='module') # For threaded MPMs
|
||||
webserver.enable('proxy_uwsgi', kind='module')
|
||||
webserver.enable('proxy_wstunnel', kind='module')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user