add a check to ensure Apache is used before running htaccess check