Quote:
Originally Posted by IBall
You can use grep to remove your local ip addresses if you view the logs with cat:
Code:
cat /var/log/apache/access.log | grep -v "192.168"
--Ian
|
Oh I didn't think about that.
However I did find out how to set apache right. I just had to add this to block my network ip's:
Code:
SetEnvIf Remote_Addr "10\.36\.36" dontlog
CustomLog /var/log/apache2/access.log combined env=!dontlog
Thanks!