Some requests are not proxied so I can't use
PassProxy / http://realserver.domain.fr/
But I can use
PassProxyReverse / http://realserver.domain.fr:
for every proxied requests because the directory path is the same for
both internal and external request
It works for me!
Koen and Robert, tha
Emmanuel.Leguy wrote:
So I tried rewriting:
RewriteEngine On
RewriteRule ^/\~(.*) http://realserver.domain.fr/~$1 [proxy,last]
There is no need to escape the '~'.
But if the trailing slash is forgotten the realserver redirect the request:
http://proxy.domain.fr/~username --> http://realserv
-"Emmanuel.Leguy" <[EMAIL PROTECTED]> wrote: -
>To: users@httpd.apache.org
>From: "Emmanuel.Leguy" <[EMAIL PROTECTED]>
>Date: 03/03/2006 13:25
>Subject: [EMAIL PROTECTED] User dir an reverse proxy
>
>Hello,
>
>My config:
>proxy
Hello,
My config:
proxy server: Apache 2.2
real server: Apache 1.3 (2.2 soon)
I would like to reverse proxy requests to userdir (public_html) like that:
http://proxy.domain.fr/~username --> http://realserver.domain.fr/~username
Thoose directives work for that particular 'username':
PassProxy