Add low-level check for .htaccess

Added low-level check for .htaccess

Addresses issue #178