<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]" <<a href="/user/SendEmail.jtp?type=node&node=4650758&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> 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>>#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> | adaptor |
<br> adaptor := ZnZincServerAdaptor startOn: 9091.
<br> adaptor default server register.
<br> 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, 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 & 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>> Hi there,
<br>>
<br>> I've a question on bookmarkable urls.
<br>>
<br>> My server is: ZnZincServerAdaptor startOn:9090 .
<br>>
<br>> And I have an application, myapp, configured this way:
<br>>
<br>> application := WADispatcher default handlerAt: 'myapp'.
<br>> application preferenceAt: #serverPath put: '/'.
<br>> WADispatcher default defaultName: 'myapp' .
<br>>
<br>>
<br>> So when I point my browser to <a href="http://localhost:9090" target="_top" rel="nofollow" link="external">http://localhost:9090</a> everyhting is fine, but
<br>> 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>> unfortunately that url does not go through myapp, I know it because if I put
<br>> a breakpoint in myapp>>initalRequest: my browser does not stop, instead if I
<br>> point to <a href="http://localhost:9090/myapp/whatever" target="_top" rel="nofollow" link="external">http://localhost:9090/myapp/whatever</a> it does.
<br>>
<br>> How can I get rid of "myapp"? I already looked at updateUrl: and WABrowser
<br>> and Pier searching for hints, but it's really obscure to me.
<br>> Thanks
<br>> Dav
<br>>
<br>>
<br>>
<br>> --
<br>> 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>> Sent from the Seaside General mailing list archive at <a href="http://Nabble.com" target="_top" rel="nofollow" link="external">Nabble.com</a>.
<br>> _______________________________________________
<br>> seaside mailing list
<br>> <a href="/user/SendEmail.jtp?type=node&node=4650756&i=0" 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>>
</div></div>_______________________________________________
<br>seaside mailing list
<br><a href="/user/SendEmail.jtp?type=node&node=4650756&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&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&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/>