sudo bash -c ‘echo > /var/www/html/logs/error.log’sudo bash -c ‘echo > /var/www/html/logs/access.log’
Original Article Posted On: https://andycorby.com/clear-error-access-logs-ubuntu-16-04/
Director at https://sotondigital.com/ - Here's one of the websites I created. This website solely focuses on Free UK Competitions: https://freeukcompetitions.com/ Experience in a range of direct and digital marketing techniques. Google AdWords Certified and I hold a BA(Hons) Business & Finance degree (2:1).
sudo bash -c ‘echo > /var/www/html/logs/error.log’sudo bash -c ‘echo > /var/www/html/logs/access.log’
/etc/php/7.0/apache2/php.ini/etc/php.ini
date.timezone =
date.timezone = Europe/London
service apache2 restart
sudo apt-get updatesudo apt-get install software-properties-commonsudo add-apt-repository ppa:certbot/certbotsudo apt-get updatesudo apt-get install python-certbot-apache
sudo certbot –apache -d example.com -d www.example.com
/etc/apache2/sites-available/000-default-le-ssl.config
sudo mkdir /etc/apache2/ssl
sudo mkdir /etc/apache2/ssl/private
sudo chmod 755 /etc/apache2/ssl
sudo chmod 710 /etc/apache2/ssl/private
sudo chown -R root:root /etc/apache2/ssl/
sudo chown -R root:ssl-cert /etc/apache2/ssl/private/
sudo chmod 644 /etc/apache2/ssl/*.crtsudo chmod 640 /etc/apache2/ssl/private/*.key
sudo a2enmod sslservice apache2 restart
site:.gov inurl:blog “post a comment” -“comments closed” -“you must be logged in” “Your Keyword”
site:.edu inurl:blog “post a comment” -“comments closed” -“you must be logged in” “Your Keyword”