Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Following this question about Windows Domain Authentication with Firefox, does FF support using wildcards in the URI's? I'm not finding anything where it mentions support either way.

share|improve this question
Have you tried it? – random Aug 3 '09 at 14:07
Yes, I have.... – squillman Aug 4 '09 at 1:40
So that means it doesn't work then? Or does it? – random Aug 8 '09 at 4:16
Sorry, thought that would be clear since I'm asking. No, my efforts didn't work. I was looking around to find out if FF just simply does not support it or if maybe my wildcard syntax was just wrong. – squillman Aug 8 '09 at 13:29
I was interested in this because I wanted to support any port on localhost. As it turns out, just http://localhost works fine. – Matthew Flaschen Jul 19 '11 at 22:23
up vote 20 down vote accepted

Just to expand on redbeard0x0a's answer, it seems that it's matching based on the end of the string, not a sub string. So, if you have a company domain like "" with servers like,,, you could modify the network.automatic-ntlm-auth.trusted-uris within about:config to:,,

or just include them all and any other internal servers by doing:

share|improve this answer
Note that you need at least on dot for it to be a wildcard. So if you can Then company1 will not work, you need to put europe.company1. I guess if there is no dot firefox assumes it's a hostname not a domain name. – David Roussel May 5 '10 at 8:53
I think you'll want to use "", leaving that leading dot out would match "". – davenpcj Oct 29 '10 at 20:23
@David @davenpcj I wish I could use example.*, i.e.,, etc – abatishchev Jan 24 '11 at 9:05
Just to add to this, I found that had to be at the end of the list if I had any more specific entries. For example http://localhost, worked, but,http://localhost did not work. Mine is now working fine, but I hope this helps someone. – LordScree Jun 13 at 16:06

I don't know if I understand the question correctly, but I'm thinking you are trying to use a wildcard in the network.authentication-ntlm-auth.trusted-uris inside firefox's config.

I think everything is matched on a sub-string (internally it seems to work like *example.local*, so having the domain example.local you would put example.local in the configuration, for example: localhost,fileserver,example.local.

If you end up having a url of http://server1.example.local/, it should trigger the example.local entry for trusted-uris and seamlessly send over NTLM authentication.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .