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.