[Seaside] Root application problem

James Foster Smalltalk at JGFoster.net
Mon Apr 23 17:22:07 UTC 2007

Hi John,

I made a change in WADispatcher>>handlerForRequest:relativeTo: that solved a
similar problem for me. About six lines down, modify the line to look like
the following:

  (relativePath notEmpty and: [true "relativePath first = $/"]) ifTrue:

I'd be interested in comments from others on this "fix".

James Foster

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of John Thornborrow
> Sent: Monday, April 23, 2007 7:35 AM
> To: seaside at lists.squeakfoundation.org
> Subject: [Seaside] Root application problem
> Hi all,
> I'm trying to configure one of my seaside apps to be the root appliation
> (i.e. http://www.myhost.com will load my application, instead having to
> navigate to http://www.myhost.com/seaside/myapp)
> I've been using the configuration page to update the base-path to '/'
> yet when I try to view the root, I still get "Error: "/" not found" but
> at the same time, the links/paths are all updated to reflect the change
> - such as the control bar when in debug mode, they are all pointing to
> "http://www.myhost.com/?_k=xxx&_s=yyy"
> I'm not even sure I know where to begin to start debugging this, so does
> anyone know if this is an easy/common fix?
> Thanks,
> John
> www.pinesoft.co.uk
> Pinesoft Computers are registered in England, Registered number: 2914825.
> Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
> This message has been scanned for viruses by BlackSpider MailControl -
> www.blackspider.com
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list