[ZendTo] LocalIPSubnets Configuration to define IP Ranges for users.
Jules Field
Jules at Zend.To
Mon Nov 12 16:55:36 GMT 2018
If you don't add a trailing dot, ZendTo does unless it's a full IP address.
Just give the prefix. It's not a netmask or network address or anything,
just a string prefix.
Sorry, I should improve the code to do CIDR masks and so on, but this
seems to have been good enough for everyone so far so was very low priority.
Cheers,
Jules.
P.S. Sorry for my absence for the past few weeks, day job got really
busy at which point ZendTo has to get put on hold. This is one of the
main reasons I *don't* do commercial support contracts. My whole day can
be re-arranged for over a month at a time, without warning. It just
works like that. Which is why I like it!
On 08/11/2018 17:32, Kris Lou via ZendTo wrote:
> 'localIPSubnets' => array('200.100', '300.200'),
>
> This works for me (using your ranges.) I don't have a trailing dot
> (".") after the second octet, and use single quotes.
>
> I only put in internal IP's, but that's your call.
>
>
>
> Kris Lou
> klou at themusiclink.net <mailto:klou at themusiclink.net>
>
> On Wed, Nov 7, 2018 at 11:36 PM, Pawan Thakur via ZendTo
> <zendto at zend.to <mailto:zendto at zend.to>> wrote:
>
> Hello All,
>
> I tried several things before asking this. I cannot configure
> LocalIPSubnets Settings. And the application looks like this.
>
> I have tried putting internal/external IP ranges in
> preferences.php like
>
> array("200.100.0.0"),
>
> array("200.100.","300.200"),
>
> and so on.
>
> What am I doing wrong ? Please help.
>
> Thanks,
> Pawan
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to <mailto:ZendTo at zend.to>
> http://jul.es/mailman/listinfo/zendto
> <http://jul.es/mailman/listinfo/zendto>
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://jul.es/mailman/listinfo/zendto
Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'What happened in the past that was painful, has a great deal to
do with what we are today.' - William Glasser
www.Zend.To
Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20181112/ee2e06de/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpofpckfdfjkmhlb.png
Type: image/png
Size: 62250 bytes
Desc: not available
URL: <http://jul.es/pipermail/zendto/attachments/20181112/ee2e06de/attachment-0001.png>
More information about the ZendTo
mailing list