apache error log
sudo tail -100 /var/log/apache2/error.log
apache basic auth setup
#install apache utilis
sudo apt-get install apache2 apache2-utils
#add apache user
sudo htpasswd -c /etc/apache2/.htpasswd some_username_here
#Setup Directory permissions in Apache Config
<Directory "/var/www/html">
AuthType Basic
AuthName "Restricted Content"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
</Directory>
#restart apache
sudo service apache2 restart
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us