Pier as default seaside application

Lukas Renggli renggli at iam.unibe.ch
Tue Mar 7 21:43:18 MET 2006


Hi Cédrick,

> I made an image with Pier as the default application (http:// 
> cdrick.seasidehosting.st) but when I want to access component I  
> have a problem because it tries to access them via another path...
> cdrick.seasidehosting.st/mini-calendar   instead of .../seaside/ 
> mini-calendar

Looks cool ;-)

Yes, this is a known problem of Seaside, making it impossible to  
strip of the parts of the path not ment for Pier. The problem is,  
that the WAApplication doesn't know how it is nested into  
WADispatcher, and in your case this is not the same as the base-path.

You seem not to have loaded the latest code of Pier. In there there  
is a ugly hack, fixing this particular problem by looking at the path  
and trying to strip-off /seaside/pier if this makes sense. Well, only  
a temporary solution, but it should solve your problem

> Also I noticed there isn't the remove command ... How to remove an  
> existing structure ?

I don't see any commands on your Pier instance? Did you install a  
Security plugin? Else you can always delete a page by sending an URL  
of the following form: "/mypage?command=PRRemoveCommand". This should  
show clearly how important it is to properly setup one of the  
available security frameworks for all public accessible pier sites ;-)

Lukas

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





More information about the SmallWiki mailing list