Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitae252ee

Browse files
author
Felipe Zimmerle
committed
Regression tests: makes configuration compatible with 2.2 and 2.4 (try 2)
1 parent65d9272 commitae252ee

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

‎tests/regression/server_root/conf/httpd.conf.in‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
### Base configuration for starting Apache httpd
22

3-
<IfModule !mod_authz_core.c>
4-
LoadModule access_compat_module /usr/lib/apache2/modules/mod_access_compat.so
5-
LoadModule mpm_worker_module /usr/lib/apache2/modules/mod_mpm_worker.so
6-
</IfModule>
7-
83
<IfDefine !CHROOT>
94
# File locations
105
PidFile @MSC_REGRESSION_LOGS_DIR@/httpd.pid
@@ -31,19 +26,24 @@ CoreDumpDirectory @MSC_REGRESSION_SERVERROOT_DIR@/tmp
3126
LogLevel debug
3227
ErrorLog @MSC_REGRESSION_LOGS_DIR@/error.log
3328

29+
<IfVersion >= 2.4>
30+
LoadModule access_compat_module /usr/lib/apache2/modules/mod_access_compat.so
31+
LoadModule mpm_worker_module /usr/lib/apache2/modules/mod_mpm_worker.so
32+
</IfVersion>
33+
3434
<IfDefine !CHROOT>
3535
DocumentRoot @MSC_REGRESSION_DOCROOT_DIR@
3636
<Directory "@MSC_REGRESSION_DOCROOT_DIR@">
3737
Options +Indexes +FollowSymLinks
3838
AllowOverride None
39-
Allow from all
4039

41-
<IfModule !mod_authz_core.c>
40+
<IfVersion >= 2.4>
41+
Allow from all
4242
Satisfy Any
43-
</IfModule>
43+
</IfVersion>
4444

45-
<IfModule mod_authz_core.c>
45+
<IfVersion < 2.4>
4646
Require all granted
47-
</IfModule>
47+
</IfVersion>
4848
</Directory>
4949
</IfDefine>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp