Re: Redirect a whole site from port 80 to a servlet container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux