Status usług / nowości
MyDevil.net follow-up
4 listopada 2011 22:08
We have enabled access logs for our users. If we wish to, we can easily check who is visiting our website - proper files (containing that data) will be created in our domain directory.
These files need to be created manually, and proper permissions should be granted - otherwise logging is 'disabled'. We can enable it by invoking these commands:
mkdir ~/domains/example.com/logs
touch ~/domains/example.com/logs/access.log
chmod o+rwx ~/domains/example.com/logs/access.log
o+rwx permissions allow our httpd server to write to that file. By removing these permissions (by invoking chmod o-rwx) we will disable log writing. File rotation should be done by ourselves, for instance: by using newsyslog utility.
We are also working on enabling error logs for users, which will contain information about invalid .htaccess file configuration.
~admin, Informacje