Skip to content

Commit

Permalink
Merge pull request #489 from waynestate/develop
Browse files Browse the repository at this point in the history
Fix for ppa:ondrej/apache2 and apache2-mpm-event conflicting
  • Loading branch information
fideloper committed Aug 31, 2015
2 parents 6959e50 + 3f36752 commit 047e3d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/apache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ sudo apt-get update

# Install Apache
# -qq implies -y --force-yes
sudo apt-get install -qq apache2 apache2-mpm-event
sudo apt-get install -qq apache2

echo ">>> Configuring Apache"

# Add vagrant user to www-data group
sudo usermod -a -G www-data vagrant

# Apache Config
# On separate lines since some may cause an error
# On separate lines since some may cause an error
# if not installed
sudo a2dismod mpm_prefork
sudo a2dismod php5
sudo a2enmod mpm_worker rewrite actions ssl
sudo a2dismod mpm_prefork mpm_worker
sudo a2dismod php5
sudo a2enmod rewrite actions ssl
curl --silent -L $github_url/helpers/vhost.sh > vhost
sudo chmod guo+x vhost
sudo mv vhost /usr/local/bin
Expand Down

0 comments on commit 047e3d2

Please sign in to comment.