apache

Apache 2

Exception on a web folder <Location “/timeline”> <Limit GET> Order deny,allow Allow from all Require valid-user Satisfy any </Limit> </Location>   Restart Apache2 on a RedHat system # /usr/local/apache2/bin/httpd -f /usr/local/apache2/conf/httpd.conf -k restart Apache2 – SSL – Put a website on HTTPS You must have certificates previously created in order to have an https website.…

log-rotate

Logrotate

Logrotate is a tool is a tool installed by default on linux distributions. It rotates logs automatically but it also compresses or transfers its. It could also suppress obsoletes files. It main config file is: /etc/logrotate.conf If we want to add log files to be rotate automatically by logrotate, we must type some lines of…