Hi all,<div><br></div><div>While registring applications seaside other than root, my applications where not accessible at their paths. It seemd that the dispatcher was not tokenzing the path correctly, because the it takes the &#39;/&#39; as argument instead of the $/ causing the applications to be registered at the whole path, instead of registering a WADispatcher for the sub paths.</div>
<div><br></div><div>Don&#39;t know of this is the right list for it, but it caused me some headaches yesterday evening :)</div><div><br></div><div>Possible fix:</div><div><br></div><div>WAAdmin register: aRequestHandlerClass at: aString in: aDispatcher</div>
<div><div><span class="Apple-tab-span" style="white-space:pre">        </span>| path dispatcher |</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>path := aString subStrings: <b>$/</b>.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>dispatcher := path allButLast</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>inject: aDispatcher</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>into: [ :result :each |</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>result handlers </div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>at: each</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>ifAbsent: [ result register: WADispatcher new at: each ] ].</div><div>
<span class="Apple-tab-span" style="white-space:pre">        </span>^ dispatcher register: aRequestHandlerClass new at: path last</div></div><div><br></div><div>Regards,</div><div><br></div><div>Bart</div>