So over the past couple days I've been putting together my .htaccess file. Below is what I have so far. The purpose is to redirects non-www. to www, redirects www.example.com/index.html to the root (www.example.com) and take all 404 Errors to the custom error page. (Thanks to G1smd)
Now I need to add gzip compression. I've compiled several different way to achieve this. Activating through .htaccess file or .php. First does anyone have any suggestions as to which one would be the best for Apache server with less then 1000 visits a day. Below is some over the ways I've tried with .htaccess.
CODE FOR THE .HTACCESS FILE
In conclusion, can anyone give me any pointers as to which compression style I should choose and how to configure it into my code above if using .htaccess to compress?