Hello, comments inline.
On 13-05 12:30, Andrzej Radke wrote:
Hello all !
I have problem with this feature
As was described, I:
- created separate subscriber and location database table for my second
domain called subscriber.gdynia and location.gdynia
- configure my script properly (I hope) ;)
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("gdynia.pl",
"subscriber.gdynia")) {
www_challenge("gdynia.pl", "0");
break;
};
save("location.gdynia");
log(3,"REGISTER from gdynia.pl");
sl_send_reply("200", "ok");
break;
if (!www_authorize("gda.pl", "subscriber"))
{
www_challenge("gda.pl", "0");
break;
};
save("location");
log(3,"REGISTER from gda.pl");
sl_send_reply("200", "ok");
break;
};
What is this supposed to do ? The second part of the script starting
with www_authorize("gda.pl", "subscriber") will never be executed
because there is break before it. What are you trying to achieve ?
Jan.
You right ! But if I remove this "break" command nothing is happend
Nobody from gda.pl and gdynia.pl is registered. :(
I'd like a support for 2 different domains. What can I do ?
I think the problem is in my config script, not in database tables, which
I created
Andrzej