<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Hi Paul</div><div><br>On Oct 11, 2012, at 0:37, "Paul DeBruicker [via Smalltalk]" &lt;<a href="/user/SendEmail.jtp?type=node&node=4650758&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; wrote:<br><br></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div>

        Its probably happening because when you access
<br><br><a href="http://localhost:9090/whatever" target="_top" rel="nofollow" link="external">http://localhost:9090/whatever</a><br><br>the default WADispatcher looks for the app configured to respond to that 
<br>path (/whatever) and finds nothing.
<br><br>When you access the above address does it open your default app or 
<br>respond with "Not Found /whatever" ?
<br><br></div></blockquote><div><br></div>It replies with not found.<div><br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div><br>Put a halt in the
<br><br>WADispatcher&gt;&gt;#handleFiltered:
<br><br>and follow the execution up and down the stack to see whats happening.
<br><br><br></div></blockquote>I'll do it.</div><div><br></div><div><br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div>I think starting an instance of the ZnZincServerAdaptor like this:
<br><br>&nbsp; &nbsp; &nbsp; &nbsp; | adaptor |
<br>&nbsp; &nbsp; &nbsp; &nbsp; adaptor := ZnZincServerAdaptor startOn: 9091.
<br>&nbsp; &nbsp; &nbsp; &nbsp; adaptor default server register.
<br>&nbsp; &nbsp; &nbsp; &nbsp; adaptor default requestHandler: (WAAdmin defaultDispatcher handlers at: 
<br>'myApp')</div></blockquote></div><div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div>Should, for that port (9091), direct all requests to your app, &nbsp;bypass 
<br>the default WADispatcher, and fix your issues.
<br><br><br></div></blockquote>Good I also try to start the adapter as you suggest, thanks</div><div>Dave</div><div><br></div><div><br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div>This can also be helpful to be able to run the config &amp; status apps on a 
<br>port that's only available on the host system rather than one proxied to 
<br>by apache or nginx.
<br><br><br><br><br><br><br>On 10/10/2012 08:04 AM, Dav wrote:
<div class="shrinkable-quote"><div class='shrinkable-quote'><br>&gt; Hi there,
<br>&gt;
<br>&gt; I've a question on bookmarkable urls.
<br>&gt;
<br>&gt; My server is: ZnZincServerAdaptor startOn:9090 .
<br>&gt;
<br>&gt; And I have an application, myapp, configured this way:
<br>&gt;
<br>&gt; application := WADispatcher default handlerAt: 'myapp'.
<br>&gt; application preferenceAt: #serverPath put: '/'.
<br>&gt; WADispatcher default defaultName: 'myapp' .
<br>&gt;
<br>&gt;
<br>&gt; So when I point my browser to <a href="http://localhost:9090" target="_top" rel="nofollow" link="external">http://localhost:9090</a>&nbsp;everyhting is fine, but
<br>&gt; I'd like to have a bookmarkable url like: <a href="http://localhost:9090/whatever" target="_top" rel="nofollow" link="external">http://localhost:9090/whatever</a>,
<br>&gt; unfortunately that url does not go through myapp, I know it because if I put
<br>&gt; a breakpoint in myapp&gt;&gt;initalRequest: my browser does not stop, instead if I
<br>&gt; point to <a href="http://localhost:9090/myapp/whatever" target="_top" rel="nofollow" link="external">http://localhost:9090/myapp/whatever</a>&nbsp;it does.
<br>&gt;
<br>&gt; How can I get rid of "myapp"? I already looked at updateUrl: and WABrowser
<br>&gt; and Pier searching for hints, but it's really obscure to me.
<br>&gt; Thanks
<br>&gt; &nbsp; Dav
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; --
<br>&gt; View this message in context: <a href="http://forum.world.st/Bookmarkable-urls-tp4650731.html" target="_top" rel="nofollow" link="external">http://forum.world.st/Bookmarkable-urls-tp4650731.html</a><br>&gt; Sent from the Seaside General mailing list archive at <a href="http://Nabble.com" target="_top" rel="nofollow" link="external">Nabble.com</a>.
<br>&gt; _______________________________________________
<br>&gt; seaside mailing list
<br>&gt; <a href="/user/SendEmail.jtp?type=node&amp;node=4650756&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>&gt;
</div></div>_______________________________________________
<br>seaside mailing list
<br><a href="/user/SendEmail.jtp?type=node&amp;node=4650756&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://forum.world.st/Bookmarkable-urls-tp4650731p4650756.html" target="_top" rel="nofollow" link="external">http://forum.world.st/Bookmarkable-urls-tp4650731p4650756.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Bookmarkable urls, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
        </div></div></blockquote></div></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/Bookmarkable-urls-tp4650731p4650758.html">Re: Bookmarkable urls</a><br/>
Sent from the <a href="http://forum.world.st/Seaside-General-f86180.html">Seaside General mailing list archive</a> at Nabble.com.<br/>