Apache

Server Monitoring Commands

Disk Stats Disk Usage detials df -h LSOF means list of open files. This command watches total open files on server. A very good article for further reading http://www.catonmat.net/blog/unix-utilities-lsof/ watch --interval=1 --differences "lsof | wc -l" Disk IO Stats iotop sar disk io stats sar -s 15:00:00 -e 17:00:00 shows the disk I/O stats watch --interval=1 iostat http://www.tecmint.com/how-to-check-disk-space-in-linux/ General Monitoring Find Out...

Read more...

How To Create a SSL Certificate on Apache for Ubuntu 14.04

TLS, or transport layer security, and its predecessor SSL, secure sockets layer, are secure protocols created in order to place normal traffic in a protected, encrypted wrapper. In this guide, i will cover how to create a self-signed SSL certificate for Apache on an Ubuntu 14.04 server, which will allow...

Read more...

.htaccess tips & tricks

If your .htaccess does not work. Open your apache configuration and find the block <Directory "/var/www/"> .... .... .... </Directory> Add the following line to activate htaccess AllowOverride All Its good to turn on rewrite engine in apache RewriteEngine on secure your .htaccess file <Files .htaccess> order allow,deny deny from all </Files> Don't list files in index pages IndexIgnore * You can specify the...

Read more...