Index: openacs-4/packages/xotcl-core/tcl/cluster-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/cluster-init.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/xotcl-core/tcl/cluster-init.tcl 20 Sep 2007 11:57:04 -0000 1.1 +++ openacs-4/packages/xotcl-core/tcl/cluster-init.tcl 29 Aug 2008 22:42:53 -0000 1.2 @@ -17,6 +17,21 @@ } } - ns_register_filter trace GET /xotcl/do ::xo::Cluster - ad_register_filter -priority 900 preauth GET /xotcl/do ::xo::Cluster + set url [::xo::Cluster set url] + + # Check, if the filter url mirrors a site node. If so, + # the cluster mechanism will not work, if the site node + # requires a login. Clustering will only work if the + # root node is freely accessible. + + array set node [site_node::get -url $url] + if {$node(url) ne "/"} { + ns_log notice "***\n*** WARNING: there appears a package mounted on\ + $url\n***Cluster configuration will not work\ + since there is a conflict with the aolserver filter with the same name!\n" + } + + #ns_register_filter trace GET $url ::xo::Cluster + ns_register_filter preauth GET $url ::xo::Cluster + #ad_register_filter -priority 900 preauth GET $url ::xo::Cluster }