httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: 2.3.15 RewriteRule P
Date Sun, 01 Jan 2012 22:32:50 GMT
> Can anyone more familiar with the code verify this? Steffen, maybe you
> can try the change and see if it helps?

I think there are a few additional wrinkles -- I couldn't repro after
this but no confident about what's right with the addr handling:

http://people.apache.org/~covener/patches/trunk-proxy_toggle_ports.diff

<virtualhost *:80>
  RewriteEngine on
  RewriteRule ^/a http://localhost:81/a [P]
  RewriteRule ^/b http://localhost:82/b [P]
</virtualhost>
<virtualhost *:81>
  AliasMatch ^/a$ /home/covener/SRC/httpd-trunk/built/icons/a.gif
</virtualhost>
<virtualhost *:82>
  AliasMatch ^/b$ /home/covener/SRC/httpd-trunk/built/icons/a.gif
</virtualhost>

Before any patch, as simple as a/b fails. The worker->cp->addr copy
issue fails with something like a/b/b.

Mime
View raw message