ladogton2010 commited on
Commit
3352a43
·
1 Parent(s): d84187d

Enable htaccess

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,6 +8,9 @@ RUN sed -i 's/:80/:8080/g' /etc/apache2/sites-enabled/000-default.conf
8
  RUN cat /etc/apache2/sites-enabled/000-default.conf
9
  RUN cat /etc/apache2/ports.conf
10
  RUN a2enmod rewrite
 
 
 
11
  RUN apache2ctl -S
12
  RUN service apache2 start
13
  RUN netstat -tulpn
 
8
  RUN cat /etc/apache2/sites-enabled/000-default.conf
9
  RUN cat /etc/apache2/ports.conf
10
  RUN a2enmod rewrite
11
+ RUN echo "<Directory /var/www/html>" >> /etc/apache2/apache2.conf
12
+ RUN echo " AllowOverride All" >> /etc/apache2/apache2.conf
13
+ RUN echo "</Directory>" >> /etc/apache2/apache2.conf
14
  RUN apache2ctl -S
15
  RUN service apache2 start
16
  RUN netstat -tulpn