On Fri, Mar 30, 2012 at 11:14 AM, Bruno Tréguier <Bruno.Treguier@xxxxxxx> wrote: > Ron, > > Would it be possible for you to do new captures of the network traffic, but > in "pcap" format ? That way we could use tools like wireshark to analyse the > traces, instead of the ascii dump you provided, whih (in my opinion) is > difficult to read. > > You can use the tcpdump "-w file.pcap" option for that (add it to the other > ones). > > Thanks ! > > Bruno With "-s 0" as well would be perfect, otherwise the packets are truncated a little short to be useful! I'm looking at preserveHostOn_redirect.out. If you look at the section "08:54:11.860428 … localhost.8082 > localhost.34050" , this is the backend replying to Apache (afaict). The "Location" header has this value: 0x0070: 6f63 6174 696f 6e3a 2068 7474 703a 2f2f ocation:.http:// 0x0080: 6374 622e 6465 762e 6b61 6e74 6c2e 6265 ctb.dev.kantl.be 0x0090: 2f54 572f 6558 6964 652f 696e 6465 782e /TW/eXide/index. 0x00a0: 6874 6d6c 0d0a 436f 6e74 656e 742d 4c65 html..Content-Le IE "(L)ocation: http://ctb.dev.kantl.be/TW/eXide/index.html" IIRC your proxy settings are: ProxyRequests on ProxyPass /apps/ http://localhost:8082/ ProxyPassReverse /apps/ http://localhost:8082/ ProxyPassReverseCookiePath /apps/ / "http://ctb.dev.kantl.be/TW/eXide/index.html" does not start with "http://localhost:8082/", so Apache does not rewrite the location header. You should be using something like this: ProxyPassReverse /apps/ http://ctb.dev.kantl.be/ as that is the URI structure your backend is generating. In the example dump, this would have rewritten the Location header to "/apps/TW/eXide/index.html", which Apache would then turn into a canonical URL, as per your UseCanonicalName settings. Note that you can have as many ProxyPassReverse directives as you need, if different parts of the backend generate different URIs. Cheers Tom --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx