Skip to main content

Topic: override.ini (Read 208 times)

  • beastie
  • [*][*]
override.ini
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?

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: override.ini
Reply #1
@beastie, mostly, *.domain.com can be used to match all subdomains, but you will still need separate entry for domain.com.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • beastie
  • [*][*]
Re: override.ini
Reply #2
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?

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: override.ini
Reply #3
@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.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • beastie
  • [*][*]
Re: override.ini
Reply #4
Yes you are right. Thank you for the reply.