From 067a7c1c02099081386f3fa4ec0abeb7e066aa9e Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sun, 3 Feb 2019 15:35:38 -0800 Subject: [PATCH] Fix greader compat issue https://github.com/FreshRSS/FreshRSS/issues/2233 --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 39ed550..925a8bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,9 @@ RUN wget https://github.com/FreshRSS/Extensions/archive/d7f025d9dd4d6322a18783db mv /app/code/extensions /app/code/extensions-orig && \ ln -s /app/data/extensions /app/code/extensions +# https://github.com/FreshRSS/FreshRSS/issues/2233 +RUN sed -e "s/SetEnvIf/SetEnvIfNoCase/" -i /app/code/p/api/.htaccess + # configure apache RUN rm /etc/apache2/sites-enabled/* RUN sed -e 's,^ErrorLog.*,ErrorLog "|/bin/cat",' -i /etc/apache2/apache2.conf @@ -21,7 +24,7 @@ RUN a2disconf other-vhosts-access-log ADD apache/freshrss.conf /etc/apache2/sites-enabled/freshrss.conf RUN echo "Listen 8000" > /etc/apache2/ports.conf -RUN a2enmod headers expires deflate mime dir rewrite +RUN a2enmod headers expires deflate mime dir rewrite setenvif RUN rm -rf /var/lib/php \ && ln -s /run/php /var/lib/php \