Test a URL against an .htaccess file to ensure it is handled correctly