Commit c8ef9256 authored by Sébastien Moretti's avatar Sébastien Moretti
Browse files

Add missing Apache mod_php and activate mod_cgi for webmail.pl

parent 41b5671f
...@@ -28,7 +28,7 @@ RUN echo '# OS update' \ ...@@ -28,7 +28,7 @@ RUN echo '# OS update' \
&& export DEBIAN_FRONTEND=noninteractive \ && export DEBIAN_FRONTEND=noninteractive \
&& apt-get update -y \ && apt-get update -y \
&& echo '# Install OS requirements' \ && echo '# Install OS requirements' \
&& apt-get install -y --no-install-recommends perl libcgi-pm-perl postfix wget git mysql-server apache2 ca-certificates php-mysqlnd \ && apt-get install -y --no-install-recommends perl libcgi-pm-perl postfix wget git mysql-server apache2 ca-certificates php-mysqlnd libapache2-mod-php \
&& echo '# Install UCNEbase' \ && echo '# Install UCNEbase' \
&& cd /usr/local/ \ && cd /usr/local/ \
&& git clone https://gitlab.sib.swiss/EPD/UCNEbase_web.git UCNEbase_web.git \ && git clone https://gitlab.sib.swiss/EPD/UCNEbase_web.git UCNEbase_web.git \
...@@ -47,6 +47,8 @@ RUN echo '# OS update' \ ...@@ -47,6 +47,8 @@ RUN echo '# OS update' \
&& cd /etc/apache2/sites-enabled/ \ && cd /etc/apache2/sites-enabled/ \
&& rm -f *.conf \ && rm -f *.conf \
&& ln -s /usr/local/UCNEbase_web.git/conf/container--UCNEbase.apache.conf /etc/apache2/sites-enabled/ \ && ln -s /usr/local/UCNEbase_web.git/conf/container--UCNEbase.apache.conf /etc/apache2/sites-enabled/ \
&& cd /etc/apache2/mods-enabled/ \
&& ln -s ../mods-available/cgi.load . \
&& mkdir -p /var/run/apache2 \ && mkdir -p /var/run/apache2 \
&& . /etc/apache2/envvars \ && . /etc/apache2/envvars \
&& apache2 -t \ && apache2 -t \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment