- Fix rx3.conf file renaming bug.

This commit is contained in:
2026-02-15 23:57:02 +01:00
parent 42225aabcc
commit 451a7e9664
3 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -18,6 +18,7 @@ Features:
- PHP_UPLOAD_LIMIT variable set to 32M by defaylt.
Enjoy it!
Your Rx3 Team.

View File

@@ -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.