Same application with different entry points

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

Same application with different entry points

NorbertHartl
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

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Same application with different entry points

Ramon Leon-5
On Sat, Jun 13, 2009 at 2:52 PM, Norbert Hartl<[hidden email]> 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
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside