For what it is worth I have had very good success with mod_rewrite on
apache. It just worked first time I tried. I use mod_rewrite with
trac too. Definitely pretty easy to use.
On 5/27/07, Francis Lavoie <[EMAIL PROTECTED]> wrote:
>
> That works, well partially..
> Sadly, I can't go through turbogears.identity without problems.
>
> I think I'll look to find another way to do this, because I already wasted
> too much time trying
>
> Thank you
>
> Francis
>
>
> Le vendredi 25 mai 2007 à 16:47 +0000, Patrick McKinnon a écrit :
>
>
> Are you always using tg.url from templates turbogears.url from
> controllers to generate links (especially when they are absolute
> paths)?
>
> <a href="${tg.url('/root_path')}">Root Path</a>
>
>
>
> On May 25, 11:13 am, Francis Lavoie <[EMAIL PROTECTED]> wrote:
> > I tried for a long time to make the apache/lighttpd proxy work with my
> > tg app. I was following all the group's ideas, tutorial on tg site,
> > nothing worked. I don't host my site at /, but in subdir like
> > myhost.com/demo/app . And when it was finally working, as soon as I
> > clicked on a link, I was back at the /.
> >
> > I tried this with my application, then the one in the tg book. All the
> > same. Later I found out, that if I don't follow the book example,
> > removing all the leading / in a link ( dashboard instead of /dashboard
> > in whatwhat) everything is working.
> >
> > But being unable to reference directly by the root of my application is
> > a real problem.
> >
> > Maybe I'm still doing something wrong.
> > Here is my config (apache2 in my vhost):
> > ServerSignature Off
> > AddDefaultCharset utf-8
> > RewriteEngine on
> > <Location /demo/>
> > ProxyPasshttp://127.0.0.1:8080/demo/
> > ProxyPassReverse http://127.0.0.1:8080/demo/
> > </Location>
> >
> > in my dev.cfg :
> > server.webpath = "/demo/"
> > [/]
> > base_url_filter.on = True
> > base_url_filter.use_x_forwarded_host = True
> >
> > Is someone encounter a similar problem or have any idea to solve it?
> >
> > Thank you
> >
> > Francis
>
>
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---