httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabricio Luiz Machado <>
Subject [users@httpd] ProxyPass with variables...
Date Wed, 15 Jun 2005 20:32:58 GMT
Hi there!

I integrate Apache + JBOSS with mod_proxy and it´s working fine to me.
Now, I will have a big application, for hundreds of different profile

These clients must access the application with an URL like this:

 And I have to proxy this requests like this:

 ProxyPass /client1 http://localhost:8080/client1
 ProxyPassReverse /client1 http://localhost:8080/client1

 ProxyPass /client2 http://localhost:8080/client2
 ProxyPassReverse /client2 http://localhost:8080/client2

 ProxyPass /whatever http://localhost:8080/whatever
 ProxyPassReverse /whatever http://localhost:8080/whatever

 The problem, ist that I don´t want to manage this hundreds 'ProxyPass'
directives one by one, because it will hurts...

 Is there a way to use variables to create an unique 'ProxyPass' ?
 For example:
 ProxyPass /%{VARIABLE} http://localhost:8080/%{VARIABLE}
 ProxyPassReverse /%{VARIABLE} http://localhost:8080/%{VARIABLE}

 Any sugestions will be great...



Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message