Tuning Your Apache Server

Found this awesome script called apache2buddy which analyses your server and outputs configuration recommendations based on your RAM, processes, error logs…

Redirect everything to HTTPS non-www

I always have to search for the correct apache rules. In this case I wanted http with www and https with www to go to https non-www…

Redirect http to https with .htaccess

How to redirect all traffic from HTTP to HTTPS using .htacess Are you using WordPress, make sure to put the code at the beginning, after the Rewrite…

How to remove Apache logs & errors

Use the following command to remove all the files and directories inside your apache2 log. You may want to reload it after deleting.

« Previous