Serving Pier from a directory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Serving Pier from a directory

keith1y
Hello,

is it possible to serve pier from a seaside entry point contained in a
'directory' sublevel?

thanks in advance

Keith

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Serving Pier from a directory

keith1y
Keith Hodges wrote:
> Hello,
>
> is it possible to serve pier from a seaside entry point contained in a
> 'directory' sublevel?
>
> thanks in advance
>
> Keith
>  
I made an attempt at fixing this in the Pier-ServeAllKernels package
available in

http://mc.lukas-renggli.ch/pieraddons

I dont understand the convoluted code in PRPierMain-structureFrom:
Why go to all the trouble of breaking up the path into pieces and then
putting it back together again?

cheers

Keith

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Serving Pier from a directory

Lukas Renggli-2
>> is it possible to serve pier from a seaside entry point contained  
>> in a 'directory' sublevel?

I don't know, I've never tried.

> I dont understand the convoluted code in PRPierMain-structureFrom:
> Why go to all the trouble of breaking up the path into pieces and then
> putting it back together again?

This makes it possible to serve Pier trough Apache at any URL. It  
also avoids some problems with older versions of Seaside where the  
parent node in the dispatcher was not available. I guess this is not  
necessary with Seaside 2.8 anymore and could be simplified. I simply  
didn't had the time to look at it yet.

Cheers,
Lukas

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



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

smime.p7s (5K) Download Attachment