Spaces:
Runtime error
Runtime error
Commit
·
db0995f
1
Parent(s):
79b89cd
zeta
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -81,7 +81,7 @@ RUN apt install -y php-xml php-sqlite3
|
|
81 |
|
82 |
RUN sed -i 's/DirectoryIndex index.html/DirectoryIndex index.php index.html/' /home/user/apache2/conf/httpd.conf
|
83 |
RUN sed -i 's/#LoadModule rewrite_module modules\/mod_rewrite.so/LoadModule rewrite_module modules\/mod_rewrite.so/' /home/user/apache2/conf/httpd.conf
|
84 |
-
RUN sed -i 's/ #\
|
85 |
RUN echo "LoadModule php_module modules/libphp.so" >> /home/user/apache2/conf/httpd.conf
|
86 |
RUN echo "" >> /home/user/apache2/conf/httpd.conf
|
87 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|
|
|
81 |
|
82 |
RUN sed -i 's/DirectoryIndex index.html/DirectoryIndex index.php index.html/' /home/user/apache2/conf/httpd.conf
|
83 |
RUN sed -i 's/#LoadModule rewrite_module modules\/mod_rewrite.so/LoadModule rewrite_module modules\/mod_rewrite.so/' /home/user/apache2/conf/httpd.conf
|
84 |
+
RUN sed -i -z 's/ #\n AllowOverride None/ #\n AllowOverride All/' /home/user/apache2/conf/httpd.conf
|
85 |
RUN echo "LoadModule php_module modules/libphp.so" >> /home/user/apache2/conf/httpd.conf
|
86 |
RUN echo "" >> /home/user/apache2/conf/httpd.conf
|
87 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|