[Seaside] Same application with different entry points

Ramon Leon ramon.leon at allresnet.com
Sat Jun 13 23:15:10 UTC 2009


On Sat, Jun 13, 2009 at 2:52 PM, Norbert Hartl<norbert at hartl.name> wrote:
> I want to access my application from http and from https as well.
> I changed my application to use / as base path for links and stuff.
> In order not to have to generate ssl certificates for every site
> I need to access the application in two different base paths.
> What would be the best way to do this?
>
> One thing I can imagine is two have two configurations in seaside
> for the same application having different base paths. Is this the
> best way or is there something better?
>
> Norbert

Have Apache do the ssl and tack on an http header and detect it from
Seaside and dynamically change how urls are rendered on the fly.  Then
you don't need two  apps, just one.  You can then do ssl on a per page
basis.

Here's the code I use to do this on reserve travel...

http://code.google.com/p/seaside/issues/detail?id=97&can=4&colspec=ID%20Type%20Status%20Priority%20Version%20Platform%20Owner%20Summary%20Milestone

Ramon Leon
http://onsmalltalk.com


More information about the seaside mailing list