Spaces:
Runtime error
Runtime error
Commit
·
a83f665
1
Parent(s):
0e92133
datassss
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -81,6 +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 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
|
|
|
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/ #\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
|