[Seaside] Seaside 2.7

Lukas Renggli renggli at gmail.com
Mon Feb 26 16:44:09 UTC 2007


> >> I tried starting from a blank clean 3.9 image an installed
> >> SeasideInstaller.12. It worked fine. But I couldn't manage to change
> >> the url to my application to 'http://localhost:9090/MyApp' by setting
> >> #serverPath to ''.
> >
> > These settings only affect how the resulting page generates absolute
> > URLs, it does not and has never affected the lookup. So I don't
> > understand your question ...
>
> Mmm.
> I problem is that I need my application to be accessible with an url
> like 'http://myaddress/myApp' and not like
> 'http://myaddress/seaside/myApp'. Previously I was just doing :
> WADispatcher default basePath: ''.
> And every seaside application url were shortened as I wanted.
>
> Now if I try the previous command, I get an error. I tried with the
> #serverPath setting of yours, but I understand it is not the right way
> to do it. How can I get my small url then ?

Aha, now I understand the problem. Evaluate the following code:

      WADispatcher default setName: ''

and everything should work. Thanks to the new implementation of the
dispatchers ;-)

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Seaside mailing list