RE: Help on default entry points/base path

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

RE: Help on default entry points/base path

Eugene Westerhof

Hi,
 
I wonder if it possible to configure  seaside so that in stead of e.g. http//localhost:8008/seaside/go/myApp I could use http://localhost:8008/myApp or even http://localhost:8008/ would lead me straight to my application.
I found a message from Lucas stating
 
"A point maybe worth to mention is how to make the application appear in the server root directory, so that others can find it even they don't type/know the full path /seaside/app:
such that http://myhost.com  goes directly to your application
In the Seaside configuration-interface set your application as default entry point (only available in current 2.6 Seaside versions). Change the base-path of the application to "/". From now on your application running directly in the root, other applications like /seaside/config, ... etc. still work."
 
However, seaside won't let me change the base path. After I save it resets to the original /seaside/go/myApp.
 
Any suggestions?
 
Thank you,
 
regards,
Eugene



 


> From: [hidden email]

> Subject: Seaside Digest, Vol 49, Issue 15
> To: [hidden email]
> Date: Fri, 12 Jan 2007 04:00:20 -0800
>
> Send Seaside mailing list submissions to
> [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> or, via email, send a message with subject or body 'help' to
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Seaside digest..."
>
>
> Today's Topics:
>
> 1. Re: Call for help: Seaside performances (Vincent Girard-Reydet)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 12 Jan 2007 09:31:26 +0100
> From: Vincent Girard-Reydet <[hidden email]>
> Subject: Re: [Seaside] Call for help: Seaside performances
> To: "The Squeak Enterprise Aubergines Server - general discussion."
> <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Many thanks for all those usefull informations!
> For our application things are a bit more hard to partition than
> dabbdle. Basically we have one namespace with many services inside, but
> only 2 or 3 entrypoints. We expect heavy load on each of those entrypoints.
>
> The prototype we have done uses apache first to serve the domain name (3
> virtual hosts on the same server), then proxies all Seaside requests to
> a software load balancer on the same server. The load balancer we use
> for now is HAProxy, but I think the trick of Avi (having an external
> program used in apache) is worth trying. We ran into problems using
> apache proxying and cookies, namely apache's mod_proxy_balancer isn't
> able to stick sessions on the same server. That's why we use HAProxy as
> the load balancer.
>
> Does any one of you have benchmarks of seaside performances? My problems
> is we have very short planning, and Avi's solution seems to require
> quite a lot of development (write the load balancer, write the scripts
> that start/stop the image dynamically, configure apache and debug!!). I
> have to know if it's worth the try, compared to using Java/JBoss (we
> have guys here than push on it).
> From what I understand, the goal is to have each VM serve about 10-50
> connections, and start a new image if more connections happen? Also, do
> you use Squeak or VW for the VM ?
>
> Vincent
>
>
> ------------------------------
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> End of Seaside Digest, Vol 49, Issue 15
> ***************************************



Probeer Live.com: je eigen persoonlijke opstartpagina met alleen de dingen die jij belangrijk vindt op één plek. binnen één omgeving.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: RE: Help on default entry points/base path

Michel Bany

On 06 Feb 2007, at 18:10 , Eugene Westerhof wrote:


Hi,
 
I wonder if it possible to configure  seaside so that in stead of e.g. http//localhost:8008/seaside/go/myApp I could use http://localhost:8008/myApp or even http://localhost:8008/ would lead me straight to my application.

Hi Eugene,

It looks as if you are with VW. In this case you need to load bundle package Seaside-ShortPath from the public store.
That will provide support for http://localhost:8008/myApp
Next, evaluate the code below
(VisualWave.WebSite siteNamed: 'seaside')
configParameters at: 'home' put: 'myApp'
and http://localhost:8008 wil take you there.

HTH
Michel.


I found a message from Lucas stating
 
"A point maybe worth to mention is how to make the application appear in the server root directory, so that others can find it even they don't type/know the full path /seaside/app:
such that http://myhost.com  goes directly to your application
In the Seaside configuration-interface set your application as default entry point (only available in current 2.6 Seaside versions). Change the base-path of the application to "/". From now on your application running directly in the root, other applications like /seaside/config, ... etc. still work."
 
However, seaside won't let me change the base path. After I save it resets to the original /seaside/go/myApp.
 
Any suggestions?
 
Thank you,
 
regards,
Eugene



 


> From: [hidden email]

> Subject: Seaside Digest, Vol 49, Issue 15
> To: [hidden email]
> Date: Fri, 12 Jan 2007 04:00:20 -0800
>
> Send Seaside mailing list submissions to
> [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> or, via email, send a message with subject or body 'help' to
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Seaside digest..."
>
>
> Today's Topics:
>
> 1. Re: Call for help: Seaside performances (Vincent Girard-Reydet)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 12 Jan 2007 09:31:26 +0100
> From: Vincent Girard-Reydet <[hidden email]>
> Subject: Re: [Seaside] Call for help: Seaside performances
> To: "The Squeak Enterprise Aubergines Server - general discussion."
> <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Many thanks for all those usefull informations!
> For our application things are a bit more hard to partition than
> dabbdle. Basically we have one namespace with many services inside, but
> only 2 or 3 entrypoints. We expect heavy load on each of those entrypoints.
>
> The prototype we have done uses apache first to serve the domain name (3
> virtual hosts on the same server), then proxies all Seaside requests to
> a software load balancer on the same server. The load balancer we use
> for now is HAProxy, but I think the trick of Avi (having an external
> program used in apache) is worth trying. We ran into problems using
> apache proxying and cookies, namely apache's mod_proxy_balancer isn't
> able to stick sessions on the same server. That's why we use HAProxy as
> the load balancer.
>
> Does any one of you have benchmarks of seaside performances? My problems
> is we have very short planning, and Avi's solution seems to require
> quite a lot of development (write the load balancer, write the scripts
> that start/stop the image dynamically, configure apache and debug!!). I
> have to know if it's worth the try, compared to using Java/JBoss (we
> have guys here than push on it).
> From what I understand, the goal is to have each VM serve about 10-50
> connections, and start a new image if more connections happen? Also, do
> you use Squeak or VW for the VM ?
>
> Vincent
>
>
> ------------------------------
>
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> End of Seaside Digest, Vol 49, Issue 15
> ***************************************



Probeer Live.com: je eigen persoonlijke opstartpagina met alleen de dingen die jij belangrijk vindt op één plek. binnen één omgeving.
_______________________________________________
Seaside mailing list


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside