Hi!
I've got a webapplication that the login functionality is placed on
one server, and the
application is running on three other server (sort of loadbalancing).
A parameter on a
successfull login tells which backendserver that should handle the
requests. Everything
is placed behind a frontend that is acting as a proxy.
I'm running Apache on the frontend and the procy is configured according to;
ProxyPass /Login/ http://login.internal.com
ProxyPassReverse /Login/ http://login.internal.com
ProxyPass /backend1/ http://backend1.internal.com
ProxyPassReverse /backend1/ http://backend1.internal.com
ProxyPass /backend2/ http://backend2.internal.com
ProxyPassReverse /backend2/ http://backend2.internal.com
ProxyPass /backend3/ http://backend3.internal.com
ProxyPassReverse /backend3/ http://backend3.internal.com
A succefull LoginRequest is redirected by the Location-header
Location:
http://login.internal.com?LoginSuccess?servername=http://backend1.internal.com
I need to rewrite "servername=http://backend1.internal.com" to
"servername=http://frontend.external.com/backend1"
I've tried to use Rewrite rules (from mod_rewrite) and ProxyHTMLURLMap (from
mod_proxy_html), but without success.
Any ideas on how to solve it?
/Andreas
---------------------------------------------------------------------
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