Correct syntax errors in htaccess files