Permalink
Browse files

put back mapcache apache config

  • Loading branch information...
msmitherdc committed Aug 12, 2018
1 parent a8bda24 commit 94640430103e7759e617f5babdf9b8dbcfbb75e4
Showing with 20 additions and 0 deletions.
  1. +10 −0 scripts/docker/Dockerfile_mapcache
  2. +10 −0 scripts/docker/Dockerfile_oracle_mapcache
@@ -166,6 +166,16 @@ RUN cd /build \
# Force buit libraries dependencies
RUN ldconfig
# Apache configuration for mapcache
RUN echo "LoadModule mapcache_module /usr/lib/apache2/modules/mod_mapcache.so" > /etc/apache2/mods-available/mapcache.load
RUN echo '<IfModule mapcache_module> \n\
<Directory /msconfig/mapcache> \n\
Require all granted \n\
</Directory> \n\
MapCacheAlias /mapcache "/msconfig/mapcache/mapcache.xml" \n\
</IfModule> \n'\
> /etc/apache2/mods-available/mapcache.conf
# Enable these Apache modules
RUN a2enmod actions cgi alias headers mapcache
@@ -178,6 +178,16 @@ RUN cd /build \
# Force buit libraries dependencies
RUN ldconfig
# Apache configuration for mapcache
RUN echo "LoadModule mapcache_module /usr/lib/apache2/modules/mod_mapcache.so" > /etc/apache2/mods-available/mapcache.load
RUN echo '<IfModule mapcache_module> \n\
<Directory /msconfig/mapcache> \n\
Require all granted \n\
</Directory> \n\
MapCacheAlias /mapcache "/msconfig/mapcache/mapcache.xml" \n\
</IfModule> \n'\
> /etc/apache2/mods-available/mapcache.conf
# Enable these Apache modules
RUN a2enmod actions cgi alias headers mapcache

0 comments on commit 9464043

Please sign in to comment.