Skip to content

Commit

Permalink
updated build
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremehancock committed Oct 25, 2019
1 parent db1ed53 commit 0f7b070
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sh
Expand Up @@ -58,11 +58,11 @@ sudo -E a2enmod rewrite
echo -e "\e[32mEnable mod_rewrite Complete\e[0m"

# Update Apache conf
sudo -E echo "<Directory /var/www/html>" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf
sudo -E echo " Options Indexes FollowSymLinks" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf
sudo -E echo " AllowOverride All" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf
sudo -E echo " Require all granted" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf
sudo -E echo "</Directory>" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf
sudo -E echo "<Directory /var/www/html>" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf
sudo -E echo " Options Indexes FollowSymLinks" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf
sudo -E echo " AllowOverride All" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf
sudo -E echo " Require all granted" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf
sudo -E echo "</Directory>" | sudo -E tee -a /etc/apache2/sites-available/000-default.conf

echo -e "\e[32mUpdated Apache conf Complete\e[0m"

Expand Down

0 comments on commit 0f7b070

Please sign in to comment.