[Seaside] Same application with different entry points
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?
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
Here's the code I use to do this on reserve travel...
More information about the seaside