|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[filter:proxy-prefix] does not work with tg 2.1a2hi all, still working on upgrading an app from tg 2.0.3 to tg 2.1a2. The application should be deployed behind apache as proxy, and i was using the following configuration with tg 2.0.3: [filter:proxy-prefix] use = egg:PasteDeploy#prefix prefix = http://localhost/wals [app:main] use = egg:wals full_stack = false filter-with = proxy-prefix after the upgrade to tg 2.1a2, i only get 404 for all URLs. Has anyone else encountered this behaviour - and maybe found workarounds? best regards, robert --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: [filter:proxy-prefix] does not work with tg 2.1a2hm, full URLs seem to be no longer ok as prefix, so prefix = /wals works. But I really need full absolute URLs returned from tg.url(). Any ideas how this may be achieved? regards, robert On Fri, Nov 6, 2009 at 10:38 AM, Robert Forkel <xrotwang@...> wrote: > > hi all, > still working on upgrading an app from tg 2.0.3 to tg 2.1a2. > The application should be deployed behind apache as proxy, and i was > using the following configuration with tg 2.0.3: > > [filter:proxy-prefix] > use = egg:PasteDeploy#prefix > prefix = http://localhost/wals > > [app:main] > use = egg:wals > full_stack = false > filter-with = proxy-prefix > > after the upgrade to tg 2.1a2, i only get 404 for all URLs. > Has anyone else encountered this behaviour - and maybe found > workarounds? > best regards, > robert > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: [filter:proxy-prefix] does not work with tg 2.1a2so the workaround i came up with is to have my own additional config setting specifying the hostname for the application and then not using tg.url directly, but prepending the host in my own "url" utility function. the remaining question: did i exploit unintended behaviour before, or can i expect full URLs to work as prefix in tg 2.1 final? best regards, robert On Fri, Nov 6, 2009 at 10:49 AM, Robert Forkel <xrotwang@...> wrote: > hm, > full URLs seem to be no longer ok as prefix, so > > prefix = /wals > > works. But I really need full absolute URLs returned from tg.url(). > Any ideas how this may be achieved? > regards, > robert > > On Fri, Nov 6, 2009 at 10:38 AM, Robert Forkel <xrotwang@...> wrote: >> >> hi all, >> still working on upgrading an app from tg 2.0.3 to tg 2.1a2. >> The application should be deployed behind apache as proxy, and i was >> using the following configuration with tg 2.0.3: >> >> [filter:proxy-prefix] >> use = egg:PasteDeploy#prefix >> prefix = http://localhost/wals >> >> [app:main] >> use = egg:wals >> full_stack = false >> filter-with = proxy-prefix >> >> after the upgrade to tg 2.1a2, i only get 404 for all URLs. >> Has anyone else encountered this behaviour - and maybe found >> workarounds? >> best regards, >> robert >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@... To unsubscribe from this group, send email to turbogears+unsubscribe@... For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |