Richard Peacock wrote:

> Suppose the local server has address http://example.com/; then

> ProxyPass /mirror/foo/ http://backend.example.com/

> will cause a local request for
> http://example.com/mirror/foo/bar to be
> internally converted into a proxy request to
> http://backend.example.com/bar.

  Ok, I understand.  That's because requests are sent to the same
domain name (even if proxying evolves a sub domain) I think.  My
problem is slightly different:

    - original site:
        http://www.original.com/
        http://www.original.com/index.html
        http://www.original.com/bla/bla.html
        http://www.original.com/...

    - new site:
        http://www.new.com/
        http://www.new.com/index.html
        http://www.new.com/foo/bar.html
        http://www.new.com/...

      must be proxied to resp.:
        http://localhost:1234/ctnr/app/
        http://localhost:1234/ctnr/app/index.html
        http://localhost:1234/ctnr/foo/bar.html
        http://localhost:1234/ctnr/app/...

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
























---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to