>
> Urls handled by the Root controller work fine. Urls pointing to e.g.
> http://mydomainname.com/projects/ get changed to
> http://127.0.0.1:<port>/projects in my browser (and therefore cannot
> connect), rather than retaining the proper domain name. If I comment
> out the require line, they work as expected. However /projects (without
> the trailing slash) also fails even when the require line is commented
> out. I've looked at the identity source but can't see how it could
> cause this.
>
>
Python-Hosting.com uses mod_proxy in front of any application it hosts.
You should simply use the base_url_filter and it'll work just fine.
'/': {
'base_url_filter.on': True,
'base_url_filter.base_url': 'http://mydomain',
'base_url_filter.use_x_forwarded_host': False,
}
- Sylvain
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---