On 18/12/06, Seb <[EMAIL PROTECTED]> wrote:
Hello ! I've got a problem on my tg installation. I'm behind an apache proxy who redirect every demand to turbogears and works well. But, when I try to acces in my classes indexs, tg bugs if I don't add the ending slash in the URL. If try http://localhost/tg/admin -> I've got a 404 error and TG redirect me to http://localhost/admin but http://localhost/tg/admin/ ( with the ending slash ), this work as I want. ( If I connect directly to tg ( on the 8080 port ), tg add the slash when it is need. )
If it's redirecting you to localhost, that's generally a sign that you need to sort out your base url filter settings. Something like this at the bottom of your app.cfg: [/] base_url_filter.on = True base_url_filter.use_x_forwarded_host = True Ed --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

