Re[users@httpd] verse proxy and consistant URL for two public entry points

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

 



Curious how this could be accomplished, I have tried several ideas using url
rewrite and proxying, without the desired effect.

I have two URL Locations specified in httpd.conf, but want to reverse proxy
them both to the same location.  We haave this working currently.  The trick
now is to make the URL either be the same, or otherwise look the same to
both client and proxied service.  The reason being the cookies on the proxed
service need to as if there were no proxy involved.

So if we have 2 Location elements with url patterns:
<Location /ldap/>
    ...
    ProxyPass http://localhost:8080/
    ProxyPassreverse http://localhost:8080/

and 
<Location /cert/>
    ...
    ProxyPass http://localhost:8080/
    ProxyPassreverse http://localhost:8080/

What Apache magic can we use so that the the client sees the /ldap/ or
/cert/ parts of the URL dropped

http://myproxy.com/ldap/proxied-app
http://myproxy.com/cert/proxied-app

are processed and then become:

http://myproxy.com/proxied-app

-- 
View this message in context: http://www.nabble.com/Reverse-proxy-and-consistant-URL-for-two-public-entry-points-tp19672102p19672102.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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