|
@@ -292,13 +292,11 @@ modparam("xcap_server", "db_url",
|
|
...
|
|
...
|
|
|
|
|
|
event_route[xhttp:request] {
|
|
event_route[xhttp:request] {
|
|
-#!ifdef WITH_XHTTPAUTH
|
|
|
|
if (!www_authorize("xcap", "subscriber"))
|
|
if (!www_authorize("xcap", "subscriber"))
|
|
{
|
|
{
|
|
www_challenge("xcap", "0");
|
|
www_challenge("xcap", "0");
|
|
exit;
|
|
exit;
|
|
}
|
|
}
|
|
-#!endif
|
|
|
|
if($hu=~"^/xcap-root/")
|
|
if($hu=~"^/xcap-root/")
|
|
{
|
|
{
|
|
set_reply_close();
|
|
set_reply_close();
|