Added .htaccess file check