Hello,
My website is stored under /var/www/html on my site. I am running code the counts the lines in the main access.log file which is found at /var/log/apache2/access.log. How could I access this file?
Hello,
My website is stored under /var/www/html on my site. I am running code the counts the lines in the main access.log file which is found at /var/log/apache2/access.log. How could I access this file?
I don’t know if this will work.
From /var/www/html
../../log/apache2/access.log