Bug fix

Bug fix to prevent globbing with the .htaccess for loop code.