Skip to content

Commit

Permalink
Merge pull request #1544 from RotherOSS/issue-#1542-mpm_prefork
Browse files Browse the repository at this point in the history
Issue #1542 mpm prefork
  • Loading branch information
bschmalhofer authored Jan 24, 2022
2 parents e0de195 + e8109b0 commit f196908
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
10 changes: 9 additions & 1 deletion scripts/apache2-httpd-cgi.include.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# --
# Copyright (C) 2019-2021 Rother OSS GmbH, https://otobo.de/
# Copyright (C) 2019-2022 Rother OSS GmbH, https://otobo.de/
# added for OTOBO (http://otobo.de/)
# --

Expand All @@ -13,6 +13,14 @@ Alias /otobo-web/ "/opt/otobo/var/httpd/htdocs/"

<IfModule mod_perl.c>

<IfModule mpm_event_module>
Error "The Multi-Processing Module mpm_event is active but it isn' supported by OTOBO. Please switch to mpm_prefork."
</IfModule>

<IfModule mpm_worker_module>
Error "The Multi-Processing Module mpm_worker is active but it isn't supported by OTOBO. Please switch to mpm_prefork."
</IfModule>

# each site should have it's own Perl interpreter
PerlOptions +Parent

Expand Down
10 changes: 9 additions & 1 deletion scripts/apache2-httpd-vhost-443.include.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# --
# Copyright (C) 2019-2021 Rother OSS GmbH, https://otobo.de/
# Copyright (C) 2019-2022 Rother OSS GmbH, https://otobo.de/
# added for OTOBO (http://otobo.de/)
# --

Expand Down Expand Up @@ -43,6 +43,14 @@

<IfModule mod_perl.c>

<IfModule mpm_event_module>
Error "The Multi-Processing Module mpm_event is active but it isn' supported by OTOBO. Please switch to mpm_prefork."
</IfModule>

<IfModule mpm_worker_module>
Error "The Multi-Processing Module mpm_worker is active but it isn't supported by OTOBO. Please switch to mpm_prefork."
</IfModule>

# Use a dedicated Perl interpreter for the current virtual host, in this case the virtual host serving port 443
PerlOptions +Parent

Expand Down
8 changes: 8 additions & 0 deletions scripts/apache2-httpd.include.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@

<IfModule mod_perl.c>

<IfModule mpm_event_module>
Error "The Multi-Processing Module mpm_event is active but it isn' supported by OTOBO. Please switch to mpm_prefork."
</IfModule>

<IfModule mpm_worker_module>
Error "The Multi-Processing Module mpm_worker is active but it isn't supported by OTOBO. Please switch to mpm_prefork."
</IfModule>

# Use a dedicated Perl interpreter for the current virtual host, usually the default virtual host
PerlOptions +Parent

Expand Down

0 comments on commit f196908

Please sign in to comment.