Multi Tennant cidlookup.xml Sources

Status
Not open for further replies.

AIC2000

Member
Feb 15, 2018
162
3
18
34
Hi,

At the moment, you set the URL you want to lookup cidlookup.xml as one static URL.

I've tried finding an additional $(domain) or $(domain_name) or $(context) variable I can access to also put into the url so I could then proxy the relevant requests to their relevant lookup sources, but that doesn't seem to work.

I also looked at doing some kind of <condition> based XML to add a different URL parameter per context / domain / tenant.

Is is possible to have different cidlookup sources per tenant, or pass a variable to the XML in order to proxy these through another script?
 

AIC2000

Member
Feb 15, 2018
162
3
18
34
No, I am basically having to route it via some kind of custom proxy I made, which prepends the CIDlookup with 5 digit codes (i.e. 00001xxxxxxxxxxx, 00002xxxxxxxxxx) then on my proxy server I strip off the first 5 digits, allowing me to identify which CIDLookup source to use - then return the result.
 
Status
Not open for further replies.