Commit e87fe05a authored by Ivo Fokkema's avatar Ivo Fokkema

Make sure we can actually read Apache's error logs.

parent 50f4b951
#!/bin/bash #!/bin/bash
# This file configures the apache server. # This file configures the apache server.
# The githubaccount parameter is required. This will be the root folder for localhost. # The githubaccount parameter is required. This will be the root folder for localhost.
for i in "$@" for i in "$@"
do do
...@@ -50,3 +50,7 @@ sudo apt-get -qq -y install exim4 apcupsd nmap ...@@ -50,3 +50,7 @@ sudo apt-get -qq -y install exim4 apcupsd nmap
echo 'Restart apache2' echo 'Restart apache2'
sudo /etc/init.d/apache2 restart sudo /etc/init.d/apache2 restart
# Make sure the error logs are readable for us.
sudo chmod +rx /var/log/apache2
sudo chmod +r /var/log/apache2/error.log
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment