[Seaside] Re: Bookmarkable urls
lasmiste at gmail.com
Wed Oct 10 22:55:57 UTC 2012
On Oct 11, 2012, at 0:37, "Paul DeBruicker [via Smalltalk]" <ml-node+s1294792n4650756h17 at n4.nabble.com> wrote:
> 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" ?
It replies with not found.
> Put a halt in the
> and follow the execution up and down the stack to see whats happening.
I'll do it.
> 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.
Good I also try to start the adapter as you suggest, thanks
> 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.
> > Thanks
> > Dav
> > --
> > 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
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> seaside mailing list
> [hidden email]
> If you reply to this email, your message will be added to the discussion below:
> To unsubscribe from Bookmarkable urls, click here.
View this message in context: http://forum.world.st/Bookmarkable-urls-tp4650731p4650758.html
Sent from the Seaside General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside