This repository was archived by the owner on Jul 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,16 @@ ADD src /
2626
2727# ------------------------------------------------------------------------------
2828# Provisioning
29+ # - Relocate default fcgid configuration to ensure correct loading order
2930# - Replace placeholders with values in systemd service unit template
3031# - Set permissions
3132# ------------------------------------------------------------------------------
32- RUN sed -i \
33+ RUN cat \
34+ /etc/httpd/conf.d/fcgid.conf \
35+ > /etc/httpd/conf.d/00-fcgid.conf \
36+ && truncate -s 0 \
37+ /etc/httpd/conf.d/fcgid.conf \
38+ && sed -i \
3339 -e "s~{{RELEASE_VERSION}}~${RELEASE_VERSION}~g" \
3440 /etc/systemd/system/centos-ssh-apache-php-fcgi@.service \
3541 && chmod 700 \
Original file line number Diff line number Diff line change @@ -1325,7 +1325,7 @@ function test_custom_configuration ()
13251325 docker exec -i \
13261326 apache-php.1 \
13271327 tee \
1328- /etc/services-config/ httpd/conf.d/05-virtual-host.conf \
1328+ /etc/httpd/conf.d/05-virtual-host.conf \
13291329 1> /dev/null \
13301330 << -CONFIG
13311331 <VirtualHost *:80 *:8443>
@@ -1411,7 +1411,7 @@ function test_custom_configuration ()
14111411 docker exec -i \
14121412 apache-php.1 \
14131413 tee \
1414- /etc/services-config/ httpd/conf.d/05-virtual-host.conf \
1414+ /etc/httpd/conf.d/05-virtual-host.conf \
14151415 1> /dev/null \
14161416 << -CONFIG
14171417 <VirtualHost *:80 *:8443>
@@ -1482,7 +1482,7 @@ function test_custom_configuration ()
14821482 docker exec -i \
14831483 apache-php.1 \
14841484 tee \
1485- /etc/services-config/ httpd/conf.d/05-virtual-host.conf \
1485+ /etc/httpd/conf.d/05-virtual-host.conf \
14861486 1> /dev/null \
14871487 << -CONFIG
14881488 <VirtualHost *:80 *:8443>
@@ -1556,7 +1556,7 @@ function test_custom_configuration ()
15561556 docker exec -i \
15571557 apache-php.1 \
15581558 tee \
1559- /etc/services-config/ httpd/conf.d/05-virtual-host.conf \
1559+ /etc/httpd/conf.d/05-virtual-host.conf \
15601560 1> /dev/null \
15611561 << -CONFIG
15621562 <VirtualHost *:80 *:8443>
You can’t perform that action at this time.
0 commit comments