On Feb 19, 3:55 pm, Rainer Sokoll <[EMAIL PROTECTED]> wrote: > > We have a setup where the location http://frontend/lab/trac is mapped > > via ProxyPass to http://lab-backend/trac > > Probably you also need ProxyPassReverse.
I don't think that will work ... ProxyPassReverse is used only for server redirects, it cannot modify links within the generated HTML. Here's an excerpt from the apache documentation: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse "Only the HTTP response headers specifically mentioned above will be rewritten. Apache will not rewrite other response headers, nor will it rewrite URL references inside HTML pages. This means that if the proxied content contains absolute URL references, they will by-pass the proxy." My problem is with the href's seen by the browser, not the one's sent to the server. All the links in trac start with a forward slash, such as "/trac/wiki" ... if the initial slash were absent, things would have worked, since the browser would then interpret them as "http:// frontend/lab/trac/wiki" instead of "http://frontend/trac/wiki". I don't know if dropping that initial forward slash will break anything ... hence the attempt at making "base_path" a config variable. Sameer. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
