Spaces:
Runtime error
Runtime error
Commit
·
e69409a
1
Parent(s):
9ed5df7
mod rewrite enabled 3
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -80,7 +80,7 @@ RUN apt install -y php-xml php-sqlite3
|
|
80 |
# USER user
|
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
|
84 |
RUN echo "LoadModule php_module modules/libphp.so" >> /home/user/apache2/conf/httpd.conf
|
85 |
RUN echo "" >> /home/user/apache2/conf/httpd.conf
|
86 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|
|
|
80 |
# USER user
|
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 echo "LoadModule php_module modules/libphp.so" >> /home/user/apache2/conf/httpd.conf
|
85 |
RUN echo "" >> /home/user/apache2/conf/httpd.conf
|
86 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|