I added a comment about this on the documentation page 
http://turbogears.org/2.0/docs/main/Deployment/ModProxy.html

Damien

----- Mail Original -----
De: "Damien Accorsi" <[email protected]>
À: [email protected]
Envoyé: Lundi 11 Janvier 2010 17h19:55 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [TurboGears] HTTPS and redirect function


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. 
-- 
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