The DnD Sanctuary

Pings => Otter Browser Forum => Topic started by: beastie on 2017-02-07, 21:27:13

Title: override.ini
Post by: beastie on 2017-02-07, 21:27:13
Hello.

Is there any way to unify domains in the override.ini file?

Let's say a domain is accessible through domain.com, www.domain.com, test1.domain.com, test2.domain.com, etc. what exactly should I have in the override.ini file?

Otter seems to create a new entry for each of these.

Can wildcards (as in "*.domain.com") be used to unify all these entries?
Title: Re: override.ini
Post by: Emdek on 2017-02-08, 07:05:00
@beastie, mostly, *.domain.com can be used to match all subdomains, but you will still need separate entry for domain.com.
Title: Re: override.ini
Post by: beastie on 2017-02-08, 21:54:18
Yes I have noticed that Otter needed a "domain.com" entry even when I added the "*.domain.com" one.

I don't suppose it would be possible to have a "*domain.com" entry instead of both of these, or would it?
Title: Re: override.ini
Post by: Emdek on 2017-02-09, 06:56:34
@beastie, it's about performance, many options have to check for values with every load and more complex syntax will require even more checks.
*domain.com would be both slower and less explicit, it could match both testdomain.com and test.domain.com etc.
Title: Re: override.ini
Post by: beastie on 2017-02-09, 11:06:15
Yes you are right. Thank you for the reply.