I'm not opposed to this idea, but the same result can be achieved
using a regex popmap. So I wonder if there is a need for mysql maps
to support this feature.
On Wed, Mar 04, 2015 at 11:40:45AM -0800, Joe Pruett wrote:
is this something that people would use? i have made a
local patch that
lets me do some sql wildcard matching if there isn't an exact match in
the db. this allows me to have a front end server for multiple domains
and unless something needs special per-user handling, i can just match
on the domain and route on that. it even allows for multiple wildcard
matches and chooses the longest pattern as the best one.
for example:
%(a)foo.com server1
%(a)bar.com server2
% server3
user a(a)foo.com goes to server1, b(a)bar.com to server2, and c(a)baz.com to
server3.
if this is of interest i can send the patch. or if i've just missed an
obvious way to handle this, let me know that :-).
______________________________________________
Perdition-users mailing list
Perdition-users(a)vergenet.net
http://lists.vergenet.net/listinfo/perdition-users