From 451a7e9664dbc8691cd5dc9f3ba024150c0d0a47 Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Sun, 15 Feb 2026 23:57:02 +0100 Subject: [PATCH] - Fix rx3.conf file renaming bug. --- Dockerfile | 6 ++++-- ReadMe.txt | 1 + ReleaseNotes.txt | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index edd68fb..70f4a79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,8 @@ ARG APACHE_DOC_ROOT ARG APACHE_LOG_DIR ARG APACHE_PORT +ARG HTTPD_CONF_FILE=/etc/httpd/conf/sites.d/default_vhost.d/30-rx3.conf + #---------------------------------------------------------------------------------------------------------------------------- @@ -33,7 +35,7 @@ chmod u+s /usr/bin/pwauth \n\ chown -R apache:apache /var/log/httpd \n\ \n\ -for file in /etc/httpd/conf/httpd.conf /etc/httpd/conf/sites.d/default_vhost.d/50-rx3.conf \n\ +for file in /etc/httpd/conf/httpd.conf '${HTTPD_CONF_FILE}' \n\ do \n\ sed -i -e "s%/var/www/html%${APACHE_DOC_ROOT}%" ${file} \n\ done \n\ @@ -107,7 +109,7 @@ RUN . /etc/profile.d/rx3.sh && isl_add ${IMG_URL} && chmod a+x /etc/init.d/httpd \ && ln -s /etc/init.d/httpd /etc/rcD.d/S30httpd \ && echo -e "${HTTPD_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/httpd.ini \ - && echo -e "${HTTPD_CONF}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/httpd/conf/sites.d/default_vhost.d/30-rx3.conf \ + && echo -e "${HTTPD_CONF}" | sed -e "s/\`/'/g" -e 's/ *$//' > ${HTTPD_CONF_FILE} \ && echo -e "${INFO_PHP}" | sed -e "s/\`/'/g" -e 's/ *$//' > /var/www/html/info.php diff --git a/ReadMe.txt b/ReadMe.txt index d9c34a3..28d8410 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -18,6 +18,7 @@ Features: - PHP_UPLOAD_LIMIT variable set to 32M by defaylt. + Enjoy it! Your Rx3 Team. diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 102159a..18b8311 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,9 +1,10 @@ ------------------------------------------------------------------------------------------------------------------------------------ -Rx3-Docker/PHP-Apache V 1.6.2 - A. GIBERT - 2026/02/14 +Rx3-Docker/PHP-Apache V 1.6.2 - A. GIBERT - 2026/02/16 ------------------------------------------------------------------------------------------------------------------------------------ - Add ISL support, - Use now rx3-docker/server:1.3.0-mga9 image, +- Fix rx3.conf file renaming bug. - Rebuild for updates.