[Seaside] Re: [Glass] [a bit offtopic] Redirect special seaside request to a different VM

Dale K. Henrichs dale.henrichs at gemtalksystems.com
Wed Dec 18 17:48:51 UTC 2013

----- Original Message -----

| From: "Mariano Martinez Peck" <marianopeck at gmail.com>
| To: glass at lists.gemtalksystems.com, "Seaside - general discussion"
| <seaside at lists.squeakfoundation.org>
| Sent: Wednesday, December 18, 2013 9:40:06 AM
| Subject: [Glass] [a bit offtopic] Redirect special seaside request to
| a different VM

| Hi guys,

| I have some special requests that I want to redirect to another Gem.
| What I did in seaside is to implement #updateUrl: and add some
| parameter for those cases I want to send it to another Gem.

| Now, I don't know how to adapt nginx for such a thing. I am using
| FastCGI. So I need to check if such argument is present in the URL
| and if true, send it to another upstream. If not, use the normal
| upstream.
Are you having trouble finding the parameter because you are using FastCGI? Or is the trouble purely an nginx question? 

| I have explained my problem here:
| http://serverfault.com/questions/561993/nginx-choose-upstream-depending-on-args
| but I didn't have any working answer.

| Does any of you have an idea how could I do that?

| Thanks in advance,

| --
| Mariano
| http://marianopeck.wordpress.com

| _______________________________________________
| Glass mailing list
| Glass at lists.gemtalksystems.com
| http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20131218/bece53e9/attachment.htm

More information about the seaside mailing list