On 7/21/06, Vincent Blondel <vincent@xxxxxxxxxxxx> wrote:
> I would like to forward traffic from (dmz) http://people.domain/~username > to (lan) http://username.srv.intranet. > I found such type of example to resolve this case but I do not know if > this is the right way to do it and I do not find any reverse mapping > (ProxyPassRevers) in this definition. > > ProxyRequests Off > RewriteEngine On > RewriteRule ^/~(.*) http://$1.srv.intranet [P]
ProxyRequests Off RewriteRule ^/~([^/]+)/(.+) http://$1.srv.intranet/$1 [P] .. that's a start. The trouble is there's no way currently to dynamically set the host name for ProxyPassReverse so redirects may be an issue. You may be able to mitigate this by using UseCanonicalName Off on the backend server. -- noodl --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx