Spaces:
Runtime error
Runtime error
Commit
·
f0d25b0
1
Parent(s):
9fb1d59
no indexes on app folder and a2enmod
Browse files- Dockerfile +2 -2
- app/.htaccess +1 -1
Dockerfile
CHANGED
@@ -85,8 +85,8 @@ RUN echo "" >> /home/user/apache2/conf/httpd.conf
|
|
85 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|
86 |
RUN echo "SetHandler application/x-httpd-php" >> /home/user/apache2/conf/httpd.conf
|
87 |
RUN echo "</FilesMatch>" >> /home/user/apache2/conf/httpd.conf
|
88 |
-
|
89 |
-
|
90 |
RUN which php
|
91 |
RUN updatedb
|
92 |
RUN locate index.php;
|
|
|
85 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|
86 |
RUN echo "SetHandler application/x-httpd-php" >> /home/user/apache2/conf/httpd.conf
|
87 |
RUN echo "</FilesMatch>" >> /home/user/apache2/conf/httpd.conf
|
88 |
+
RUN which php-cgi;
|
89 |
+
RUN a2enmod php
|
90 |
RUN which php
|
91 |
RUN updatedb
|
92 |
RUN locate index.php;
|
app/.htaccess
CHANGED
@@ -1 +1 @@
|
|
1 |
-
Options
|
|
|
1 |
+
Options - Indexes
|