[Seaside] Bookmarkable urls
pdebruic at gmail.com
Wed Oct 10 22:36:39 UTC 2012
Its probably happening because when you access
the default WADispatcher looks for the app configured to respond to that
path (/whatever) and finds nothing.
When you access the above address does it open your default app or
respond with "Not Found /whatever" ?
Put a halt in the
and follow the execution up and down the stack to see whats happening.
I think starting an instance of the ZnZincServerAdaptor like this:
| adaptor |
adaptor := ZnZincServerAdaptor startOn: 9091.
adaptor default server register.
adaptor default requestHandler: (WAAdmin defaultDispatcher handlers at:
Should, for that port (9091), direct all requests to your app, bypass
the default WADispatcher, and fix your issues.
This can also be helpful to be able to run the config & status apps on a
port that's only available on the host system rather than one proxied to
by apache or nginx.
On 10/10/2012 08:04 AM, Dav wrote:
> Hi there,
> I've a question on bookmarkable urls.
> My server is: ZnZincServerAdaptor startOn:9090 .
> And I have an application, myapp, configured this way:
> application := WADispatcher default handlerAt: 'myapp'.
> application preferenceAt: #serverPath put: '/'.
> WADispatcher default defaultName: 'myapp' .
> So when I point my browser to http://localhost:9090 everyhting is fine, but
> I'd like to have a bookmarkable url like: http://localhost:9090/whatever,
> unfortunately that url does not go through myapp, I know it because if I put
> a breakpoint in myapp>>initalRequest: my browser does not stop, instead if I
> point to http://localhost:9090/myapp/whatever it does.
> How can I get rid of "myapp"? I already looked at updateUrl: and WABrowser
> and Pier searching for hints, but it's really obscure to me.
> View this message in context: http://forum.world.st/Bookmarkable-urls-tp4650731.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside