Damien Accorsi wrote:
> Diez B. Roggisch wrote:
>   
>> Sounds a bit strange. Redirect usually preserves the protocol & host,
>> simply because it only redirects to the path.
>>     
> It does not. Let's look at
> http://docs.turbogears.org/1.0/RedirectHttpsRequests
> So... I suppose this is still a "missing feature" in TG2, doesn't it ?
>
> Damien
>   
I reply to myself.

The solution is the following one :

In my configuration file, I added the 'filter-with' line to [app:main]
section :

[app:main]
...
filter-with = proxy-prefix

And I also added the [filter:proxy-with] section :

[filter:proxy-prefix]
use = egg:PasteDeploy#prefix
prefix = /
scheme = https



--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

Reply via email to