Spaces:
Runtime error
Runtime error
Commit
·
6d0a615
1
Parent(s):
e69409a
mod rewrite enabled 4
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
|